merge user, admin and common dialogs to one folder

This commit is contained in:
2025-09-25 21:21:02 +03:00
parent 250a349209
commit 91f247c8b4
12 changed files with 20 additions and 60 deletions

View File

@@ -6,3 +6,8 @@ async def username_getter(
dialog_manager: DialogManager, event_from_user: User, **kwargs
) -> dict[str, str]:
return {"username": event_from_user.username}
async def is_admin(
dialog_manager: DialogManager, event_from_user: User, **kwargs
) -> dict[str, str]:
return {"is_admin": False}