Skip to content

Instantly share code, notes, and snippets.

@illvart
Created April 7, 2024 06:32
Show Gist options
  • Save illvart/f25a6c13baee70a47049b36747041b5e to your computer and use it in GitHub Desktop.
Save illvart/f25a6c13baee70a47049b36747041b5e to your computer and use it in GitHub Desktop.
24/04/07 00:56:17 | INFO | numexpr.utils | _init_num_threads | 161 : NumExpr defaulting to 4 threads.
24/04/07 00:56:19 | SUCCESS | menfess.database | db_connect | 80 : Database connected.
24/04/07 00:56:19 | SUCCESS | menfess.database | db_connect | 83 : Tables created.
24/04/07 00:56:21 | INFO | menfess.bot | start | 563 : Starting Bot Client...
24/04/07 00:56:22 | INFO | menfess.bot | start | 578 : Bot Client details:
ID: 6243829127
First Name: RANDOM MENFESS
Username: randomenfess_bot
24/04/07 00:56:22 | INFO | menfess.bot | start | 588 : Var.MENFESS_ID detected!
Title: RANDOM MENFESS 💭
ID: -1001435984583
24/04/07 00:56:22 | INFO | menfess.bot | start | 599 : Var.GROUP_ID detected!
Title: TEMAN RANDOM
ID: -1001207241580
24/04/07 00:56:22 | INFO | menfess.bot | start | 602 : Admins : {2003361410, 1792486150, 5447162758, 1998918024, 6192123031, 182990552, 1881966426, 1960665051, 1835298401, 6546316260, 1714447653, 5125024167, 950149480, 5852060905, 6075769006, 5026995960, 5723869502}
24/04/07 00:56:23 | INFO | menfess.bot | start | 614 : Var.CHANNEL_ID detected!
Title: TEMAN RANDOM OFFICIAL
ID: -1001507336905
24/04/07 00:56:23 | INFO | menfess.bot | start | 967 : Starting Userbot Client...
24/04/07 00:56:23 | INFO | menfess.bot | start | 977 : Userbot Client details:
ID: 6192123031
First Name: MENFESS MENTION | @randomenfess
Username: randomenfess_mention
24/04/07 00:56:23 | INFO | menfess.bot | start | 1018 : Starting Secretbot Client...
24/04/07 00:56:25 | INFO | menfess.bot | start | 1037 : Secretbot Client details:
ID: 6706336615
First Name: SECRET MENFESS
Username: menfessmediabot
24/04/07 00:56:25 | INFO | waitress.wasyncore | log_info | 485 : Serving on http://0.0.0.0:80
24/04/07 00:56:25 | SUCCESS | menfess.bot | start | 644 : >> 🔥 RUNNING IN 11s !!
24/04/07 00:57:22 | WARNING | menfess.plugins.post | send_menfess | 774 : [ACTION] Failed to edit caption.
24/04/07 02:05:54 | WARNING | menfess.plugins.post | _post | 1159 : from username mention
24/04/07 02:05:54 | ERROR | menfess.plugins.post | _post | 1160 : unsupported operand type(s) for -: 'int' and 'NoneType'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/menfess/__main__.py", line 26, in <module>
uvloop.run(main())
│ │ └ <function main at 0x7a506e964d60>
│ └ <function run at 0x7a506ddcbc40>
└ <module 'uvloop' from '/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py", line 109, in run
return __asyncio.run(
│ └ <function run at 0x7a506e6213a0>
└ <module 'asyncio' from '/usr/local/lib/python3.12/asyncio/__init__.py'>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
│ │ └ <coroutine object run.<locals>.wrapper at 0x7a505bcb0ad0>
│ └ <function Runner.run at 0x7a506df84220>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<run.<locals>.wrapper() running at /opt/venv/lib/python3.12/site-packages/uvloop/__init__.py...
│ │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 329, in handler_worker
await handler.callback(self.client, *args)
│ │ │ │ └ (pyrogram.types.Message(id=6254972, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_c...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <pyrogram.dispatcher.Dispatcher object at 0x7a505bcc69f0>
│ └ <bound method MessageHandler.resolve_future_or_callback of <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50...
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/handlers/message_handler.py", line 151, in resolve_future_or_callback
await self.original_callback(client, message, *args)
│ │ │ │ └ ()
│ │ │ └ pyrogram.types.Message(id=6254972, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ └ <function Maintenance.<locals>.decor at 0x7a505844e2a0>
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/app/menfess/decorators.py", line 260, in wrapp
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6254972, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Maintenance.<locals>.decor at 0x7a505844e200>
File "/app/menfess/decorators.py", line 135, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6254972, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Subscribe.<locals>.decor at 0x7a505844e0c0>
File "/app/menfess/decorators.py", line 199, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6254972, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function _post at 0x7a505844e020>
> File "/app/menfess/plugins/post.py", line 1152, in _post
acc = await c.get_chat(uname)
│ │ └ 'Xxchelyy'
│ └ <function GetChat.get_chat at 0x7a506c72aac0>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/methods/chats/get_chat.py", line 89, in get_chat
return await types.Chat._parse_full(self, r)
│ │ │ │ └ pyrogram.raw.types.users.UserFull(full_user=pyrogram.raw.types.UserFull(id=2103159296, settings=pyrogram.raw.types.PeerSettin...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <staticmethod(<function Chat._parse_full at 0x7a506cc27880>)>
│ └ <class 'pyrogram.types.user_and_chats.chat.Chat'>
└ <module 'pyrogram.types' from '/opt/venv/lib/python3.12/site-packages/pyrogram/types/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/types/user_and_chats/chat.py", line 431, in _parse_full
id=[await client.resolve_peer(utils.get_channel_id(full_user.personal_channel_id))]
│ │ │ │ │ └ <member 'personal_channel_id' of 'UserFull' objects>
│ │ │ │ └ pyrogram.raw.types.UserFull(id=2103159296, settings=pyrogram.raw.types.PeerSettings(report_spam=False, add_contact=False, blo...
│ │ │ └ <function get_channel_id at 0x7a506ce71120>
│ │ └ <module 'pyrogram.utils' from '/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py'>
│ └ <function Client.resolve_peer at 0x7a505bad9440>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py", line 325, in get_channel_id
return MAX_CHANNEL_ID - peer_id
│ └ None
└ -1000000000000
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
24/04/07 02:06:59 | WARNING | menfess.plugins.post | _post | 1159 : from username mention
24/04/07 02:06:59 | ERROR | menfess.plugins.post | _post | 1160 : unsupported operand type(s) for -: 'int' and 'NoneType'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/menfess/__main__.py", line 26, in <module>
uvloop.run(main())
│ │ └ <function main at 0x7a506e964d60>
│ └ <function run at 0x7a506ddcbc40>
└ <module 'uvloop' from '/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py", line 109, in run
return __asyncio.run(
│ └ <function run at 0x7a506e6213a0>
└ <module 'asyncio' from '/usr/local/lib/python3.12/asyncio/__init__.py'>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
│ │ └ <coroutine object run.<locals>.wrapper at 0x7a505bcb0ad0>
│ └ <function Runner.run at 0x7a506df84220>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<run.<locals>.wrapper() running at /opt/venv/lib/python3.12/site-packages/uvloop/__init__.py...
│ │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 329, in handler_worker
await handler.callback(self.client, *args)
│ │ │ │ └ (pyrogram.types.Message(id=6254994, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_c...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <pyrogram.dispatcher.Dispatcher object at 0x7a505bcc69f0>
│ └ <bound method MessageHandler.resolve_future_or_callback of <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50...
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/handlers/message_handler.py", line 151, in resolve_future_or_callback
await self.original_callback(client, message, *args)
│ │ │ │ └ ()
│ │ │ └ pyrogram.types.Message(id=6254994, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ └ <function Maintenance.<locals>.decor at 0x7a505844e2a0>
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/app/menfess/decorators.py", line 260, in wrapp
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6254994, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Maintenance.<locals>.decor at 0x7a505844e200>
File "/app/menfess/decorators.py", line 135, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6254994, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Subscribe.<locals>.decor at 0x7a505844e0c0>
File "/app/menfess/decorators.py", line 199, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6254994, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function _post at 0x7a505844e020>
> File "/app/menfess/plugins/post.py", line 1152, in _post
acc = await c.get_chat(uname)
│ │ └ 'Xxchelyy'
│ └ <function GetChat.get_chat at 0x7a506c72aac0>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/methods/chats/get_chat.py", line 89, in get_chat
return await types.Chat._parse_full(self, r)
│ │ │ │ └ pyrogram.raw.types.users.UserFull(full_user=pyrogram.raw.types.UserFull(id=2103159296, settings=pyrogram.raw.types.PeerSettin...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <staticmethod(<function Chat._parse_full at 0x7a506cc27880>)>
│ └ <class 'pyrogram.types.user_and_chats.chat.Chat'>
└ <module 'pyrogram.types' from '/opt/venv/lib/python3.12/site-packages/pyrogram/types/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/types/user_and_chats/chat.py", line 431, in _parse_full
id=[await client.resolve_peer(utils.get_channel_id(full_user.personal_channel_id))]
│ │ │ │ │ └ <member 'personal_channel_id' of 'UserFull' objects>
│ │ │ │ └ pyrogram.raw.types.UserFull(id=2103159296, settings=pyrogram.raw.types.PeerSettings(report_spam=False, add_contact=False, blo...
│ │ │ └ <function get_channel_id at 0x7a506ce71120>
│ │ └ <module 'pyrogram.utils' from '/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py'>
│ └ <function Client.resolve_peer at 0x7a505bad9440>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py", line 325, in get_channel_id
return MAX_CHANNEL_ID - peer_id
│ └ None
└ -1000000000000
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
24/04/07 02:10:08 | WARNING | menfess.plugins.post | _post | 1159 : from username mention
24/04/07 02:10:08 | ERROR | menfess.plugins.post | _post | 1160 : unsupported operand type(s) for -: 'int' and 'NoneType'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/menfess/__main__.py", line 26, in <module>
uvloop.run(main())
│ │ └ <function main at 0x7a506e964d60>
│ └ <function run at 0x7a506ddcbc40>
└ <module 'uvloop' from '/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py", line 109, in run
return __asyncio.run(
│ └ <function run at 0x7a506e6213a0>
└ <module 'asyncio' from '/usr/local/lib/python3.12/asyncio/__init__.py'>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
│ │ └ <coroutine object run.<locals>.wrapper at 0x7a505bcb0ad0>
│ └ <function Runner.run at 0x7a506df84220>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<run.<locals>.wrapper() running at /opt/venv/lib/python3.12/site-packages/uvloop/__init__.py...
│ │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 329, in handler_worker
await handler.callback(self.client, *args)
│ │ │ │ └ (pyrogram.types.Message(id=6255056, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_c...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <pyrogram.dispatcher.Dispatcher object at 0x7a505bcc69f0>
│ └ <bound method MessageHandler.resolve_future_or_callback of <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50...
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/handlers/message_handler.py", line 151, in resolve_future_or_callback
await self.original_callback(client, message, *args)
│ │ │ │ └ ()
│ │ │ └ pyrogram.types.Message(id=6255056, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ └ <function Maintenance.<locals>.decor at 0x7a505844e2a0>
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/app/menfess/decorators.py", line 260, in wrapp
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6255056, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Maintenance.<locals>.decor at 0x7a505844e200>
File "/app/menfess/decorators.py", line 135, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6255056, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Subscribe.<locals>.decor at 0x7a505844e0c0>
File "/app/menfess/decorators.py", line 199, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6255056, from_user=pyrogram.types.User(id=6815420878, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function _post at 0x7a505844e020>
> File "/app/menfess/plugins/post.py", line 1152, in _post
acc = await c.get_chat(uname)
│ │ └ 'Xxchelyy'
│ └ <function GetChat.get_chat at 0x7a506c72aac0>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/methods/chats/get_chat.py", line 89, in get_chat
return await types.Chat._parse_full(self, r)
│ │ │ │ └ pyrogram.raw.types.users.UserFull(full_user=pyrogram.raw.types.UserFull(id=2103159296, settings=pyrogram.raw.types.PeerSettin...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <staticmethod(<function Chat._parse_full at 0x7a506cc27880>)>
│ └ <class 'pyrogram.types.user_and_chats.chat.Chat'>
└ <module 'pyrogram.types' from '/opt/venv/lib/python3.12/site-packages/pyrogram/types/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/types/user_and_chats/chat.py", line 431, in _parse_full
id=[await client.resolve_peer(utils.get_channel_id(full_user.personal_channel_id))]
│ │ │ │ │ └ <member 'personal_channel_id' of 'UserFull' objects>
│ │ │ │ └ pyrogram.raw.types.UserFull(id=2103159296, settings=pyrogram.raw.types.PeerSettings(report_spam=False, add_contact=False, blo...
│ │ │ └ <function get_channel_id at 0x7a506ce71120>
│ │ └ <module 'pyrogram.utils' from '/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py'>
│ └ <function Client.resolve_peer at 0x7a505bad9440>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py", line 325, in get_channel_id
return MAX_CHANNEL_ID - peer_id
│ └ None
└ -1000000000000
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
24/04/07 03:48:20 | WARNING | menfess.plugins.post | _post | 1159 : from username mention
24/04/07 03:48:20 | ERROR | menfess.plugins.post | _post | 1160 : unsupported operand type(s) for -: 'int' and 'NoneType'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/menfess/__main__.py", line 26, in <module>
uvloop.run(main())
│ │ └ <function main at 0x7a506e964d60>
│ └ <function run at 0x7a506ddcbc40>
└ <module 'uvloop' from '/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py", line 109, in run
return __asyncio.run(
│ └ <function run at 0x7a506e6213a0>
└ <module 'asyncio' from '/usr/local/lib/python3.12/asyncio/__init__.py'>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
│ │ └ <coroutine object run.<locals>.wrapper at 0x7a505bcb0ad0>
│ └ <function Runner.run at 0x7a506df84220>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<run.<locals>.wrapper() running at /opt/venv/lib/python3.12/site-packages/uvloop/__init__.py...
│ │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 329, in handler_worker
await handler.callback(self.client, *args)
│ │ │ │ └ (pyrogram.types.Message(id=6256664, from_user=pyrogram.types.User(id=7162932051, is_self=False, is_contact=False, is_mutual_c...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <pyrogram.dispatcher.Dispatcher object at 0x7a505bcc69f0>
│ └ <bound method MessageHandler.resolve_future_or_callback of <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50...
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/handlers/message_handler.py", line 151, in resolve_future_or_callback
await self.original_callback(client, message, *args)
│ │ │ │ └ ()
│ │ │ └ pyrogram.types.Message(id=6256664, from_user=pyrogram.types.User(id=7162932051, is_self=False, is_contact=False, is_mutual_co...
│ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ └ <function Maintenance.<locals>.decor at 0x7a505844e2a0>
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/app/menfess/decorators.py", line 260, in wrapp
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6256664, from_user=pyrogram.types.User(id=7162932051, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Maintenance.<locals>.decor at 0x7a505844e200>
File "/app/menfess/decorators.py", line 135, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6256664, from_user=pyrogram.types.User(id=7162932051, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Subscribe.<locals>.decor at 0x7a505844e0c0>
File "/app/menfess/decorators.py", line 155, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6256664, from_user=pyrogram.types.User(id=7162932051, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function _post at 0x7a505844e020>
> File "/app/menfess/plugins/post.py", line 1152, in _post
acc = await c.get_chat(uname)
│ │ └ 'mikey1270'
│ └ <function GetChat.get_chat at 0x7a506c72aac0>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/methods/chats/get_chat.py", line 89, in get_chat
return await types.Chat._parse_full(self, r)
│ │ │ │ └ pyrogram.raw.types.users.UserFull(full_user=pyrogram.raw.types.UserFull(id=1881727835, settings=pyrogram.raw.types.PeerSettin...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <staticmethod(<function Chat._parse_full at 0x7a506cc27880>)>
│ └ <class 'pyrogram.types.user_and_chats.chat.Chat'>
└ <module 'pyrogram.types' from '/opt/venv/lib/python3.12/site-packages/pyrogram/types/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/types/user_and_chats/chat.py", line 431, in _parse_full
id=[await client.resolve_peer(utils.get_channel_id(full_user.personal_channel_id))]
│ │ │ │ │ └ <member 'personal_channel_id' of 'UserFull' objects>
│ │ │ │ └ pyrogram.raw.types.UserFull(id=1881727835, settings=pyrogram.raw.types.PeerSettings(report_spam=False, add_contact=False, blo...
│ │ │ └ <function get_channel_id at 0x7a506ce71120>
│ │ └ <module 'pyrogram.utils' from '/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py'>
│ └ <function Client.resolve_peer at 0x7a505bad9440>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py", line 325, in get_channel_id
return MAX_CHANNEL_ID - peer_id
│ └ None
└ -1000000000000
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
24/04/07 04:23:18 | WARNING | menfess.plugins.post | _post | 1159 : from username mention
24/04/07 04:23:18 | ERROR | menfess.plugins.post | _post | 1160 : unsupported operand type(s) for -: 'int' and 'NoneType'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/menfess/__main__.py", line 26, in <module>
uvloop.run(main())
│ │ └ <function main at 0x7a506e964d60>
│ └ <function run at 0x7a506ddcbc40>
└ <module 'uvloop' from '/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py", line 109, in run
return __asyncio.run(
│ └ <function run at 0x7a506e6213a0>
└ <module 'asyncio' from '/usr/local/lib/python3.12/asyncio/__init__.py'>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
│ │ └ <coroutine object run.<locals>.wrapper at 0x7a505bcb0ad0>
│ └ <function Runner.run at 0x7a506df84220>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<run.<locals>.wrapper() running at /opt/venv/lib/python3.12/site-packages/uvloop/__init__.py...
│ │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 329, in handler_worker
await handler.callback(self.client, *args)
│ │ │ │ └ (pyrogram.types.Message(id=6257256, from_user=pyrogram.types.User(id=1972778500, is_self=False, is_contact=False, is_mutual_c...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <pyrogram.dispatcher.Dispatcher object at 0x7a505bcc69f0>
│ └ <bound method MessageHandler.resolve_future_or_callback of <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50...
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/handlers/message_handler.py", line 151, in resolve_future_or_callback
await self.original_callback(client, message, *args)
│ │ │ │ └ ()
│ │ │ └ pyrogram.types.Message(id=6257256, from_user=pyrogram.types.User(id=1972778500, is_self=False, is_contact=False, is_mutual_co...
│ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ └ <function Maintenance.<locals>.decor at 0x7a505844e2a0>
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/app/menfess/decorators.py", line 260, in wrapp
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6257256, from_user=pyrogram.types.User(id=1972778500, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Maintenance.<locals>.decor at 0x7a505844e200>
File "/app/menfess/decorators.py", line 135, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6257256, from_user=pyrogram.types.User(id=1972778500, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Subscribe.<locals>.decor at 0x7a505844e0c0>
File "/app/menfess/decorators.py", line 199, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6257256, from_user=pyrogram.types.User(id=1972778500, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function _post at 0x7a505844e020>
> File "/app/menfess/plugins/post.py", line 1152, in _post
acc = await c.get_chat(uname)
│ │ └ 'askaskytta'
│ └ <function GetChat.get_chat at 0x7a506c72aac0>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/methods/chats/get_chat.py", line 89, in get_chat
return await types.Chat._parse_full(self, r)
│ │ │ │ └ pyrogram.raw.types.users.UserFull(full_user=pyrogram.raw.types.UserFull(id=6756608272, settings=pyrogram.raw.types.PeerSettin...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <staticmethod(<function Chat._parse_full at 0x7a506cc27880>)>
│ └ <class 'pyrogram.types.user_and_chats.chat.Chat'>
└ <module 'pyrogram.types' from '/opt/venv/lib/python3.12/site-packages/pyrogram/types/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/types/user_and_chats/chat.py", line 431, in _parse_full
id=[await client.resolve_peer(utils.get_channel_id(full_user.personal_channel_id))]
│ │ │ │ │ └ <member 'personal_channel_id' of 'UserFull' objects>
│ │ │ │ └ pyrogram.raw.types.UserFull(id=6756608272, settings=pyrogram.raw.types.PeerSettings(report_spam=False, add_contact=False, blo...
│ │ │ └ <function get_channel_id at 0x7a506ce71120>
│ │ └ <module 'pyrogram.utils' from '/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py'>
│ └ <function Client.resolve_peer at 0x7a505bad9440>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py", line 325, in get_channel_id
return MAX_CHANNEL_ID - peer_id
│ └ None
└ -1000000000000
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
24/04/07 10:03:56 | WARNING | menfess.plugins.post | _post | 1159 : from username mention
24/04/07 10:03:56 | ERROR | menfess.plugins.post | _post | 1160 : unsupported operand type(s) for -: 'int' and 'NoneType'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/menfess/__main__.py", line 26, in <module>
uvloop.run(main())
│ │ └ <function main at 0x7a506e964d60>
│ └ <function run at 0x7a506ddcbc40>
└ <module 'uvloop' from '/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py", line 109, in run
return __asyncio.run(
│ └ <function run at 0x7a506e6213a0>
└ <module 'asyncio' from '/usr/local/lib/python3.12/asyncio/__init__.py'>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
│ │ └ <coroutine object run.<locals>.wrapper at 0x7a505bcb0ad0>
│ └ <function Runner.run at 0x7a506df84220>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<run.<locals>.wrapper() running at /opt/venv/lib/python3.12/site-packages/uvloop/__init__.py...
│ │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 329, in handler_worker
await handler.callback(self.client, *args)
│ │ │ │ └ (pyrogram.types.Message(id=6262144, from_user=pyrogram.types.User(id=7170086431, is_self=False, is_contact=False, is_mutual_c...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <pyrogram.dispatcher.Dispatcher object at 0x7a505bcc69f0>
│ └ <bound method MessageHandler.resolve_future_or_callback of <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50...
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/handlers/message_handler.py", line 151, in resolve_future_or_callback
await self.original_callback(client, message, *args)
│ │ │ │ └ ()
│ │ │ └ pyrogram.types.Message(id=6262144, from_user=pyrogram.types.User(id=7170086431, is_self=False, is_contact=False, is_mutual_co...
│ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ └ <function Maintenance.<locals>.decor at 0x7a505844e2a0>
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/app/menfess/decorators.py", line 260, in wrapp
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6262144, from_user=pyrogram.types.User(id=7170086431, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Maintenance.<locals>.decor at 0x7a505844e200>
File "/app/menfess/decorators.py", line 135, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6262144, from_user=pyrogram.types.User(id=7170086431, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Subscribe.<locals>.decor at 0x7a505844e0c0>
File "/app/menfess/decorators.py", line 199, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6262144, from_user=pyrogram.types.User(id=7170086431, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function _post at 0x7a505844e020>
> File "/app/menfess/plugins/post.py", line 1152, in _post
acc = await c.get_chat(uname)
│ │ └ 'ayncangtip'
│ └ <function GetChat.get_chat at 0x7a506c72aac0>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/methods/chats/get_chat.py", line 89, in get_chat
return await types.Chat._parse_full(self, r)
│ │ │ │ └ pyrogram.raw.types.users.UserFull(full_user=pyrogram.raw.types.UserFull(id=7170086431, settings=pyrogram.raw.types.PeerSettin...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <staticmethod(<function Chat._parse_full at 0x7a506cc27880>)>
│ └ <class 'pyrogram.types.user_and_chats.chat.Chat'>
└ <module 'pyrogram.types' from '/opt/venv/lib/python3.12/site-packages/pyrogram/types/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/types/user_and_chats/chat.py", line 431, in _parse_full
id=[await client.resolve_peer(utils.get_channel_id(full_user.personal_channel_id))]
│ │ │ │ │ └ <member 'personal_channel_id' of 'UserFull' objects>
│ │ │ │ └ pyrogram.raw.types.UserFull(id=7170086431, settings=pyrogram.raw.types.PeerSettings(report_spam=False, add_contact=False, blo...
│ │ │ └ <function get_channel_id at 0x7a506ce71120>
│ │ └ <module 'pyrogram.utils' from '/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py'>
│ └ <function Client.resolve_peer at 0x7a505bad9440>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py", line 325, in get_channel_id
return MAX_CHANNEL_ID - peer_id
│ └ None
└ -1000000000000
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
24/04/07 11:28:44 | WARNING | menfess.plugins.post | _post | 1159 : from username mention
24/04/07 11:28:44 | ERROR | menfess.plugins.post | _post | 1160 : unsupported operand type(s) for -: 'int' and 'NoneType'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/menfess/__main__.py", line 26, in <module>
uvloop.run(main())
│ │ └ <function main at 0x7a506e964d60>
│ └ <function run at 0x7a506ddcbc40>
└ <module 'uvloop' from '/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py", line 109, in run
return __asyncio.run(
│ └ <function run at 0x7a506e6213a0>
└ <module 'asyncio' from '/usr/local/lib/python3.12/asyncio/__init__.py'>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
│ │ └ <coroutine object run.<locals>.wrapper at 0x7a505bcb0ad0>
│ └ <function Runner.run at 0x7a506df84220>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<run.<locals>.wrapper() running at /opt/venv/lib/python3.12/site-packages/uvloop/__init__.py...
│ │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 329, in handler_worker
await handler.callback(self.client, *args)
│ │ │ │ └ (pyrogram.types.Message(id=6263484, from_user=pyrogram.types.User(id=6656718328, is_self=False, is_contact=False, is_mutual_c...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <pyrogram.dispatcher.Dispatcher object at 0x7a505bcc69f0>
│ └ <bound method MessageHandler.resolve_future_or_callback of <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50...
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/handlers/message_handler.py", line 151, in resolve_future_or_callback
await self.original_callback(client, message, *args)
│ │ │ │ └ ()
│ │ │ └ pyrogram.types.Message(id=6263484, from_user=pyrogram.types.User(id=6656718328, is_self=False, is_contact=False, is_mutual_co...
│ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ └ <function Maintenance.<locals>.decor at 0x7a505844e2a0>
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/app/menfess/decorators.py", line 260, in wrapp
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6263484, from_user=pyrogram.types.User(id=6656718328, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Maintenance.<locals>.decor at 0x7a505844e200>
File "/app/menfess/decorators.py", line 135, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6263484, from_user=pyrogram.types.User(id=6656718328, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Subscribe.<locals>.decor at 0x7a505844e0c0>
File "/app/menfess/decorators.py", line 199, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6263484, from_user=pyrogram.types.User(id=6656718328, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function _post at 0x7a505844e020>
> File "/app/menfess/plugins/post.py", line 1152, in _post
acc = await c.get_chat(uname)
│ │ └ 'eggvers'
│ └ <function GetChat.get_chat at 0x7a506c72aac0>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/methods/chats/get_chat.py", line 89, in get_chat
return await types.Chat._parse_full(self, r)
│ │ │ │ └ pyrogram.raw.types.users.UserFull(full_user=pyrogram.raw.types.UserFull(id=6312652998, settings=pyrogram.raw.types.PeerSettin...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <staticmethod(<function Chat._parse_full at 0x7a506cc27880>)>
│ └ <class 'pyrogram.types.user_and_chats.chat.Chat'>
└ <module 'pyrogram.types' from '/opt/venv/lib/python3.12/site-packages/pyrogram/types/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/types/user_and_chats/chat.py", line 431, in _parse_full
id=[await client.resolve_peer(utils.get_channel_id(full_user.personal_channel_id))]
│ │ │ │ │ └ <member 'personal_channel_id' of 'UserFull' objects>
│ │ │ │ └ pyrogram.raw.types.UserFull(id=6312652998, settings=pyrogram.raw.types.PeerSettings(report_spam=False, add_contact=False, blo...
│ │ │ └ <function get_channel_id at 0x7a506ce71120>
│ │ └ <module 'pyrogram.utils' from '/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py'>
│ └ <function Client.resolve_peer at 0x7a505bad9440>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py", line 325, in get_channel_id
return MAX_CHANNEL_ID - peer_id
│ └ None
└ -1000000000000
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
24/04/07 11:32:18 | WARNING | menfess.plugins.post | _post | 1159 : from username mention
24/04/07 11:32:18 | ERROR | menfess.plugins.post | _post | 1160 : unsupported operand type(s) for -: 'int' and 'NoneType'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/menfess/__main__.py", line 26, in <module>
uvloop.run(main())
│ │ └ <function main at 0x7a506e964d60>
│ └ <function run at 0x7a506ddcbc40>
└ <module 'uvloop' from '/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py", line 109, in run
return __asyncio.run(
│ └ <function run at 0x7a506e6213a0>
└ <module 'asyncio' from '/usr/local/lib/python3.12/asyncio/__init__.py'>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
│ │ └ <coroutine object run.<locals>.wrapper at 0x7a505bcb0ad0>
│ └ <function Runner.run at 0x7a506df84220>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<run.<locals>.wrapper() running at /opt/venv/lib/python3.12/site-packages/uvloop/__init__.py...
│ │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 329, in handler_worker
await handler.callback(self.client, *args)
│ │ │ │ └ (pyrogram.types.Message(id=6263542, from_user=pyrogram.types.User(id=7080426474, is_self=False, is_contact=False, is_mutual_c...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <pyrogram.dispatcher.Dispatcher object at 0x7a505bcc69f0>
│ └ <bound method MessageHandler.resolve_future_or_callback of <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50...
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/handlers/message_handler.py", line 151, in resolve_future_or_callback
await self.original_callback(client, message, *args)
│ │ │ │ └ ()
│ │ │ └ pyrogram.types.Message(id=6263542, from_user=pyrogram.types.User(id=7080426474, is_self=False, is_contact=False, is_mutual_co...
│ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ └ <function Maintenance.<locals>.decor at 0x7a505844e2a0>
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/app/menfess/decorators.py", line 260, in wrapp
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6263542, from_user=pyrogram.types.User(id=7080426474, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Maintenance.<locals>.decor at 0x7a505844e200>
File "/app/menfess/decorators.py", line 135, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6263542, from_user=pyrogram.types.User(id=7080426474, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Subscribe.<locals>.decor at 0x7a505844e0c0>
File "/app/menfess/decorators.py", line 199, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6263542, from_user=pyrogram.types.User(id=7080426474, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function _post at 0x7a505844e020>
> File "/app/menfess/plugins/post.py", line 1152, in _post
acc = await c.get_chat(uname)
│ │ └ 'rzzlddts'
│ └ <function GetChat.get_chat at 0x7a506c72aac0>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/methods/chats/get_chat.py", line 89, in get_chat
return await types.Chat._parse_full(self, r)
│ │ │ │ └ pyrogram.raw.types.users.UserFull(full_user=pyrogram.raw.types.UserFull(id=6156632577, settings=pyrogram.raw.types.PeerSettin...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <staticmethod(<function Chat._parse_full at 0x7a506cc27880>)>
│ └ <class 'pyrogram.types.user_and_chats.chat.Chat'>
└ <module 'pyrogram.types' from '/opt/venv/lib/python3.12/site-packages/pyrogram/types/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/types/user_and_chats/chat.py", line 431, in _parse_full
id=[await client.resolve_peer(utils.get_channel_id(full_user.personal_channel_id))]
│ │ │ │ │ └ <member 'personal_channel_id' of 'UserFull' objects>
│ │ │ │ └ pyrogram.raw.types.UserFull(id=6156632577, settings=pyrogram.raw.types.PeerSettings(report_spam=False, add_contact=False, blo...
│ │ │ └ <function get_channel_id at 0x7a506ce71120>
│ │ └ <module 'pyrogram.utils' from '/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py'>
│ └ <function Client.resolve_peer at 0x7a505bad9440>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py", line 325, in get_channel_id
return MAX_CHANNEL_ID - peer_id
│ └ None
└ -1000000000000
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
24/04/07 11:34:32 | WARNING | menfess.plugins.post | _post | 1159 : from username mention
24/04/07 11:34:32 | ERROR | menfess.plugins.post | _post | 1160 : unsupported operand type(s) for -: 'int' and 'NoneType'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/menfess/__main__.py", line 26, in <module>
uvloop.run(main())
│ │ └ <function main at 0x7a506e964d60>
│ └ <function run at 0x7a506ddcbc40>
└ <module 'uvloop' from '/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/uvloop/__init__.py", line 109, in run
return __asyncio.run(
│ └ <function run at 0x7a506e6213a0>
└ <module 'asyncio' from '/usr/local/lib/python3.12/asyncio/__init__.py'>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
│ │ └ <coroutine object run.<locals>.wrapper at 0x7a505bcb0ad0>
│ └ <function Runner.run at 0x7a506df84220>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<run.<locals>.wrapper() running at /opt/venv/lib/python3.12/site-packages/uvloop/__init__.py...
│ │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
│ └ <uvloop.Loop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x7a505bc39610>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 329, in handler_worker
await handler.callback(self.client, *args)
│ │ │ │ └ (pyrogram.types.Message(id=6263570, from_user=pyrogram.types.User(id=7080426474, is_self=False, is_contact=False, is_mutual_c...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <pyrogram.dispatcher.Dispatcher object at 0x7a505bcc69f0>
│ └ <bound method MessageHandler.resolve_future_or_callback of <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50...
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/handlers/message_handler.py", line 151, in resolve_future_or_callback
await self.original_callback(client, message, *args)
│ │ │ │ └ ()
│ │ │ └ pyrogram.types.Message(id=6263570, from_user=pyrogram.types.User(id=7080426474, is_self=False, is_contact=False, is_mutual_co...
│ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ └ <function Maintenance.<locals>.decor at 0x7a505844e2a0>
└ <pyrogram.handlers.message_handler.MessageHandler object at 0x7a50581658b0>
File "/app/menfess/decorators.py", line 260, in wrapp
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6263570, from_user=pyrogram.types.User(id=7080426474, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Maintenance.<locals>.decor at 0x7a505844e200>
File "/app/menfess/decorators.py", line 135, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6263570, from_user=pyrogram.types.User(id=7080426474, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function Subscribe.<locals>.decor at 0x7a505844e0c0>
File "/app/menfess/decorators.py", line 199, in decor
return await func(c, e)
│ │ └ pyrogram.types.Message(id=6263570, from_user=pyrogram.types.User(id=7080426474, is_self=False, is_contact=False, is_mutual_co...
│ └ <menfess.bot.Bot object at 0x7a505c0dc740>
└ <function _post at 0x7a505844e020>
> File "/app/menfess/plugins/post.py", line 1152, in _post
acc = await c.get_chat(uname)
│ │ └ 'rzzlddts'
│ └ <function GetChat.get_chat at 0x7a506c72aac0>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/methods/chats/get_chat.py", line 89, in get_chat
return await types.Chat._parse_full(self, r)
│ │ │ │ └ pyrogram.raw.types.users.UserFull(full_user=pyrogram.raw.types.UserFull(id=6156632577, settings=pyrogram.raw.types.PeerSettin...
│ │ │ └ <menfess.bot.Bot object at 0x7a505c0dc740>
│ │ └ <staticmethod(<function Chat._parse_full at 0x7a506cc27880>)>
│ └ <class 'pyrogram.types.user_and_chats.chat.Chat'>
└ <module 'pyrogram.types' from '/opt/venv/lib/python3.12/site-packages/pyrogram/types/__init__.py'>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/types/user_and_chats/chat.py", line 431, in _parse_full
id=[await client.resolve_peer(utils.get_channel_id(full_user.personal_channel_id))]
│ │ │ │ │ └ <member 'personal_channel_id' of 'UserFull' objects>
│ │ │ │ └ pyrogram.raw.types.UserFull(id=6156632577, settings=pyrogram.raw.types.PeerSettings(report_spam=False, add_contact=False, blo...
│ │ │ └ <function get_channel_id at 0x7a506ce71120>
│ │ └ <module 'pyrogram.utils' from '/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py'>
│ └ <function Client.resolve_peer at 0x7a505bad9440>
└ <menfess.bot.Bot object at 0x7a505c0dc740>
File "/opt/venv/lib/python3.12/site-packages/pyrogram/utils.py", line 325, in get_channel_id
return MAX_CHANNEL_ID - peer_id
│ └ None
└ -1000000000000
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
24/04/07 12:56:23 | INFO | menfess.bot | remove_old_files | 457 : [JOB] Removed: {'/app/downloads/509851.mp4', '/app/downloads/509910.jpg', '/app/downloads/510031.jpg', '/app/downloads/510827.mp4', '/app/downloads/510465.jpg', '/app/downloads/509907.mp4', '/app/downloads/508153.jpg', '/app/downloads/509975.jpg', '/app/downloads/510411.jpg', '/app/downloads/510175.jpg', '/app/downloads/510099.mp4', '/app/downloads/509964.jpg', '/app/downloads/510158.jpg', '/app/downloads/510560.mp4', '/app/downloads/509947.jpg', '/app/downloads/509994.mp4', '/app/downloads/509831.jpg'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment