mirror of
https://codeberg.org/JasterV/YoutuBot.git
synced 2026-04-26 18:40:02 +00:00
Update app.py
This commit is contained in:
parent
d428cdf140
commit
5b72e76bfb
1 changed files with 1 additions and 8 deletions
7
app.py
7
app.py
|
|
@ -37,13 +37,6 @@ 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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue