Feat: added notifier
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
2
main.py
2
main.py
@@ -25,5 +25,5 @@ if __name__ == "__main__":
|
||||
|
||||
# Start bot
|
||||
bot = NwXrayBot(config.bot_token.get_secret_value())
|
||||
bot.include_routers(HelloHandler(), MenuHandler(), AdminHandler())
|
||||
bot.include_routers(HelloHandler(), MenuHandler(), AdminHandler(bot.bot))
|
||||
loop.run_until_complete(bot.start(skip_updates=True))
|
||||
|
||||
Reference in New Issue
Block a user