Update timerbot.py

The missing space bothered me.
This commit is contained in:
Avanatiker 2016-04-11 12:36:59 +02:00 committed by Noam Meltzer
parent b7f83cf375
commit 0342a5b30b

View file

@ -44,7 +44,7 @@ def set(bot, update, args):
# args[0] should contain the time for the timer in seconds # args[0] should contain the time for the timer in seconds
due = int(args[0]) due = int(args[0])
if due < 0: if due < 0:
bot.sendMessage(chat_id,text='Sorry we can not go back to future!') bot.sendMessage(chat_id, text='Sorry we can not go back to future!')
def alarm(bot): def alarm(bot):
""" Inner function to send the alarm message """ """ Inner function to send the alarm message """
bot.sendMessage(chat_id, text='Beep!') bot.sendMessage(chat_id, text='Beep!')