mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 15:17:00 +01:00
fix multiple additional arguments
This commit is contained in:
parent
628e1b743a
commit
3e732a0736
1 changed files with 2 additions and 1 deletions
|
@ -577,7 +577,8 @@ class Broadcaster:
|
|||
|
||||
if 'update_queue' in fargs:
|
||||
kwargs['update_queue'] = self.update_queue
|
||||
elif 'args' in fargs:
|
||||
|
||||
if 'args' in fargs:
|
||||
if isinstance(update, Update):
|
||||
args = update.message.text.split(' ')[1:]
|
||||
elif isinstance(update, str):
|
||||
|
|
Loading…
Reference in a new issue