mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix timer_bot.py
This commit is contained in:
parent
661218c7e3
commit
966f2e7ef7
@ -32,7 +32,7 @@ def set_timer(message):
|
|||||||
|
|
||||||
@bot.message_handler(commands=['unset'])
|
@bot.message_handler(commands=['unset'])
|
||||||
def unset_timer(message):
|
def unset_timer(message):
|
||||||
schedule.clean(message.chat.id)
|
schedule.clear(message.chat.id)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user