mirror of
https://github.com/Nick80835/microbot
synced 2025-09-02 15:35:43 +00:00
catch QueryIdInvalidError moar gooder
This commit is contained in:
@@ -76,7 +76,10 @@ class CommandHandler():
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
if not pattern_match:
|
if not pattern_match:
|
||||||
await event.answer([await event.builder.article(title=key, text=f"{self.settings.get_config('cmd_prefix') or '.'}{value['default']}") for key, value in self.inline_photo_commands.items() if value["default"]])
|
try:
|
||||||
|
await event.answer([await event.builder.article(title=key, text=f"{self.settings.get_config('cmd_prefix') or '.'}{value['default']}") for key, value in self.inline_photo_commands.items() if value["default"]])
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
async def try_coro(self, coro):
|
async def try_coro(self, coro):
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user