mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 07:06:26 +01:00
Update clibot.py
Changes group=str to int
This commit is contained in:
parent
d80e0b4b8c
commit
998040da92
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ def main():
|
|||
# Regex handlers will receive all updates on which their regex matches,
|
||||
# but we have to add it in a separate group, since in one group,
|
||||
# only one handler will be executed
|
||||
dp.addHandler(RegexHandler('.*', any_message), group='log')
|
||||
dp.addHandler(RegexHandler('.*', any_message), group=1)
|
||||
|
||||
# String handlers work pretty much the same. Note that we have to tell
|
||||
# the handler to pass the args or update_queue parameter
|
||||
|
|
Loading…
Reference in a new issue