diff --git a/main.py b/main.py index d8bf7c5..31b04e7 100644 --- a/main.py +++ b/main.py @@ -681,4 +681,6 @@ updater.dispatcher.addHandler(CommandHandler('debuggameslist', debuggameslist)) updater.dispatcher.addHandler(CommandHandler('kill', kill)) updater.dispatcher.addHandler(CommandHandler('config', config)) updater.start_polling() -updater.idle() +print("Bot avviato!") +if __name__ == "__main__": + updater.idle()