From 998040da924313355f5c27e9b8a175591bca6cf5 Mon Sep 17 00:00:00 2001 From: Leandro Toledo Date: Wed, 27 Apr 2016 22:10:31 -0300 Subject: [PATCH] Update clibot.py Changes group=str to int --- examples/clibot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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