summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/home/telegram/bot.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/home/telegram/bot.py b/src/home/telegram/bot.py
index 9e60b70..3bdb01a 100644
--- a/src/home/telegram/bot.py
+++ b/src/home/telegram/bot.py
@@ -137,11 +137,10 @@ def handler(**kwargs):
if messages:
texts = list(itertools.chain.from_iterable([lang.all(m) for m in messages]))
-
- _updater.dispatcher.add_handler(
- MessageHandler(text_filter(*texts), _handler),
- group=0
- )
+ _updater.dispatcher.add_handler(
+ MessageHandler(text_filter(*texts), _handler),
+ group=0
+ )
if 'command' in kwargs:
_updater.dispatcher.add_handler(CommandHandler(kwargs['command'], _handler), group=0)