Developing Bot

This commit is contained in:
2025-12-24 02:06:17 +01:00
parent aa3c656537
commit ba8c1823e3
17 changed files with 246 additions and 93 deletions
+7
View File
@@ -0,0 +1,7 @@
from config import config
def is_user_admin(user_id: int) -> bool:
return user_id in config.ADMIN_IDS
def is_chat_allowed(chat_id: int) -> bool:
return chat_id in config.ALLOWED_CHAT_IDS