forked from test/mau_mau_bot
hint on close command on game start
This commit is contained in:
parent
9b62f9b116
commit
f82b9ce6c0
1 changed files with 3 additions and 2 deletions
5
bot.py
5
bot.py
|
@ -259,8 +259,9 @@ def start_game(bot, update, args):
|
||||||
sticker=c.STICKERS[str(game.last_card)],
|
sticker=c.STICKERS[str(game.last_card)],
|
||||||
timeout=2.5)
|
timeout=2.5)
|
||||||
send_async(bot, chat_id,
|
send_async(bot, chat_id,
|
||||||
text="First player: " +
|
text="First player: %s\n"
|
||||||
display_name(game.current_player.user))
|
"Use /close to stop people from joining the game."
|
||||||
|
% display_name(game.current_player.user))
|
||||||
elif len(args) and args[0] == 'select':
|
elif len(args) and args[0] == 'select':
|
||||||
players = gm.userid_players[update.message.from_user.id]
|
players = gm.userid_players[update.message.from_user.id]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue