We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c2d552 commit 165d6aeCopy full SHA for 165d6ae
src/entities/dispatcher.py
@@ -20,7 +20,7 @@ async def get_user(handler: Callable[[Update, Dict[str, Any]],
20
return await handler(update, data)
21
22
if not username:
23
- username = "unknown:" + chat_id
+ username = "unknown:" + str(chat_id)
24
25
query = User.select().where(User.chat_id == chat_id)
26
if not await query.aio_exists():
0 commit comments