Skip to content

Commit

Permalink
Fix for /cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
xditya authored Dec 17, 2020
1 parent 43d29e2 commit 6a15966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telebot/plugins/mybot/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ async def a_txt(event):
await conv.send_message("Error!")
return
if themssg == "/cancel":
await conv.send_message("Cancelled!!")
return await conv.send_message("Cancelled!!")
heroku_var=app.config()
xx = await tgbot.send_message(event.chat_id, "Changing your Alive Message, please wait for a minute")
heroku_var[telebot]=f"{themssg}"
Expand Down

0 comments on commit 6a15966

Please sign in to comment.