diff --git a/app.py b/app.py index de5632c..bf3bdce 100644 --- a/app.py +++ b/app.py @@ -37,15 +37,8 @@ def download_song(message): return filename -@server.route("/") -def webhook(): - bot.remove_webhook() - bot.set_webhook(url='https://cryptic-crag-46329.herokuapp.com/' + bot_token) - return "!", 200 - - while True: try: bot.polling() except Exception: - time.sleep(15) \ No newline at end of file + time.sleep(15)