Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
1.5 kB
1
Indexable
Never
2023-11-15 00:12:32,914 - pyrogram.dispatcher - ERROR - Invalid parse mode "markdown"
Traceback (most recent call last):
  File "/root/gdrivebot/venv/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 242, in handler_worker
    await self.loop.run_in_executor(
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/root/gdrivebot/bot/plugins/help.py", line 10, in _start
    client.send_message(chat_id = message.chat.id,
  File "/root/gdrivebot/venv/lib/python3.8/site-packages/pyrogram/sync.py", line 78, in async_to_sync_wrap
    return asyncio.run_coroutine_threadsafe(coroutine, main_loop).result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 444, in result
    return self.__get_result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/root/gdrivebot/venv/lib/python3.8/site-packages/pyrogram/methods/messages/send_message.py", line 124, in send_message
    message, entities = (await utils.parse_text_entities(self, text, parse_mode, entities)).values()
  File "/root/gdrivebot/venv/lib/python3.8/site-packages/pyrogram/utils.py", line 354, in parse_text_entities
    text, entities = (await client.parser.parse(text, parse_mode)).values()
  File "/root/gdrivebot/venv/lib/python3.8/site-packages/pyrogram/parser/parser.py", line 54, in parse
    raise ValueError(f'Invalid parse mode "{mode}"')
ValueError: Invalid parse mode "markdown"
Leave a Comment