Feat: started menu command and admin field

This commit is contained in:
2024-12-28 11:50:40 +03:00
parent a5d708383a
commit 5d6310e5a4
8 changed files with 32 additions and 21 deletions

View File

@@ -5,7 +5,7 @@ from sys import exit
import uvloop
from nwxraybot import NwXrayBot, Settings
from nwxraybot.handlers import HelloHandler
from nwxraybot.handlers import *
from nwxraybot.models import User
if __name__ == "__main__":
@@ -21,5 +21,5 @@ if __name__ == "__main__":
# Start bot
bot = NwXrayBot(config.bot_token.get_secret_value())
bot.include_routers(HelloHandler(bot)())
bot.include_routers(HelloHandler(bot), MenuHandler(bot))
uvloop.run(bot.start(skip_updates=True))