mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 08:37:07 +01:00
Update timerbot.py
The missing space bothered me.
This commit is contained in:
parent
b7f83cf375
commit
0342a5b30b
1 changed files with 1 additions and 1 deletions
|
@ -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!')
|
||||||
|
|
Loading…
Reference in a new issue