display next player on leave
This commit is contained in:
parent
1844d1d40a
commit
281511e0fd
1 changed files with 3 additions and 1 deletions
4
bot.py
4
bot.py
|
@ -143,7 +143,9 @@ def leave_game(bot, update):
|
|||
send_async(bot, chat_id, text="Game ended!")
|
||||
else:
|
||||
if gm.leave_game(user, chat_id):
|
||||
send_async(bot, chat_id, text="Okay",
|
||||
send_async(bot, chat_id,
|
||||
text="Okay. Next Player: " +
|
||||
display_name(game.current_player.user),
|
||||
reply_to_message_id=update.message.message_id)
|
||||
else:
|
||||
send_async(bot, chat_id, text="You are not playing in a game in "
|
||||
|
|
Loading…
Reference in a new issue