🔀 Merge pull request #74 from Flowiee/patch-2

Update bot.py
This commit is contained in:
Jannes Höke 2019-10-13 21:32:40 +02:00 committed by GitHub
commit 85b4d671c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
bot.py
View file

@ -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)