Update bot.py
This commit is contained in:
parent
6f3da7b373
commit
3af7b58d37
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -698,7 +698,7 @@ def process_result(bot, update, job_queue):
|
||||||
__("Next player: {name}", multi=game.translate)
|
__("Next player: {name}", multi=game.translate)
|
||||||
.format(name=display_name(game.current_player.user)))
|
.format(name=display_name(game.current_player.user)))
|
||||||
choice = [[InlineKeyboardButton(text=_("Make your choice!"), switch_inline_query_current_chat='')]]
|
choice = [[InlineKeyboardButton(text=_("Make your choice!"), switch_inline_query_current_chat='')]]
|
||||||
bot.sendMessage(chat.id,
|
send_async(bot, chat.id,
|
||||||
text=nextplayer_message,
|
text=nextplayer_message,
|
||||||
reply_markup=InlineKeyboardMarkup(choice))
|
reply_markup=InlineKeyboardMarkup(choice))
|
||||||
start_player_countdown(bot, game, job_queue)
|
start_player_countdown(bot, game, job_queue)
|
||||||
|
|
Loading…
Reference in a new issue