Update utils.py

fix utils bold parse markdown
This commit is contained in:
David 2018-07-17 10:35:52 +07:00 committed by GitHub
parent 1a0023a259
commit d477b07286
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,8 +88,6 @@ def send_async(bot, *args, **kwargs):
"""Send a message asynchronously"""
if 'timeout' not in kwargs:
kwargs['timeout'] = TIMEOUT
if 'parse_mode' not in kwargs:
kwargs['parse_mode'] = telegram.ParseMode.MARKDOWN
try:
bot.sendMessage(*args, **kwargs)