mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-17 04:39:55 +01:00
pass args in timerbot example #270
This commit is contained in:
parent
5aab4525c2
commit
6e5302c089
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ def main():
|
|||
# on different commands - answer in Telegram
|
||||
dp.addHandler(CommandHandler("start", start))
|
||||
dp.addHandler(CommandHandler("help", start))
|
||||
dp.addHandler(CommandHandler("set", set))
|
||||
dp.addHandler(CommandHandler("set", set, pass_args=True))
|
||||
|
||||
# log all errors
|
||||
dp.addErrorHandler(error)
|
||||
|
|
Loading…
Add table
Reference in a new issue