Update utils.py
fix utils bold parse markdown
This commit is contained in:
parent
1a0023a259
commit
d477b07286
1 changed files with 0 additions and 2 deletions
2
utils.py
2
utils.py
|
@ -88,8 +88,6 @@ def send_async(bot, *args, **kwargs):
|
||||||
"""Send a message asynchronously"""
|
"""Send a message asynchronously"""
|
||||||
if 'timeout' not in kwargs:
|
if 'timeout' not in kwargs:
|
||||||
kwargs['timeout'] = TIMEOUT
|
kwargs['timeout'] = TIMEOUT
|
||||||
if 'parse_mode' not in kwargs:
|
|
||||||
kwargs['parse_mode'] = telegram.ParseMode.MARKDOWN
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
bot.sendMessage(*args, **kwargs)
|
bot.sendMessage(*args, **kwargs)
|
||||||
|
|
Loading…
Reference in a new issue