Feat: removed unnecessary bot
This commit is contained in:
3
main.py
3
main.py
@@ -1,4 +1,3 @@
|
||||
import asyncio
|
||||
import logging
|
||||
from sys import exit
|
||||
|
||||
@@ -21,5 +20,5 @@ if __name__ == "__main__":
|
||||
|
||||
# Start bot
|
||||
bot = NwXrayBot(config.bot_token.get_secret_value())
|
||||
bot.include_routers(HelloHandler(bot), MenuHandler(bot))
|
||||
bot.include_routers(HelloHandler(), MenuHandler())
|
||||
uvloop.run(bot.start(skip_updates=True))
|
||||
|
||||
Reference in New Issue
Block a user