This commit is contained in:
ned
2022-12-07 20:31:14 +01:00
parent ecfe7bb95f
commit c69a8076ca

View File

@@ -97,10 +97,10 @@ class ChatGPT3TelegramBot:
)
async def error_handler(self, update: object, context: ContextTypes.DEFAULT_TYPE) -> None:
logging.debug(f'Exception while handling an update: {context.error}')
"""
Handles errors in the telegram-python-bot library.
"""
logging.debug(f'Exception while handling an update: {context.error}')
def is_allowed(self, update: Update) -> bool:
"""