diff --git a/examples/clibot.py b/examples/clibot.py index 445c8d783..03c2696fe 100644 --- a/examples/clibot.py +++ b/examples/clibot.py @@ -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