Skip to content

Commit 6e5302c

Browse files
committed
pass args in timerbot example python-telegram-bot#270
1 parent 5aab452 commit 6e5302c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/timerbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def main():
7575
# on different commands - answer in Telegram
7676
dp.addHandler(CommandHandler("start", start))
7777
dp.addHandler(CommandHandler("help", start))
78-
dp.addHandler(CommandHandler("set", set))
78+
dp.addHandler(CommandHandler("set", set, pass_args=True))
7979

8080
# log all errors
8181
dp.addErrorHandler(error)

0 commit comments

Comments
 (0)