templating
This commit is contained in:
parent
9682b9fbce
commit
0b434636bc
2 changed files with 6 additions and 4 deletions
|
@ -115,6 +115,8 @@ def do_play_card(bot, player, result_id):
|
||||||
us.first_places += 1
|
us.first_places += 1
|
||||||
if game.mode == 'one':
|
if game.mode == 'one':
|
||||||
gm.end_game(chat, user)
|
gm.end_game(chat, user)
|
||||||
|
send_async(bot, chat.id,
|
||||||
|
text=__("Game ended!", multi=game.translate))
|
||||||
|
|
||||||
|
|
||||||
game.players_won += 1
|
game.players_won += 1
|
||||||
|
|
|
@ -31,8 +31,8 @@ help_text = ("Follow these steps:\n\n"
|
||||||
" running game with /join\n"
|
" running game with /join\n"
|
||||||
"3. After at least two players have joined, start the game with"
|
"3. After at least two players have joined, start the game with"
|
||||||
" /start\n"
|
" /start\n"
|
||||||
"4. Type <code>@unobot</code> into your chat box and hit "
|
"4. Type <code>@xultanbot</code> into your chat box and hit "
|
||||||
"<b>space</b>, or click the <code>via @unobot</code> text "
|
"<b>space</b>, or click the <code>via @xultanbot</code> text "
|
||||||
"next to messages. You will see your cards (some greyed out), "
|
"next to messages. You will see your cards (some greyed out), "
|
||||||
"any extra options like drawing, and a <b>?</b> to see the "
|
"any extra options like drawing, and a <b>?</b> to see the "
|
||||||
"current game state. The <b>greyed out cards</b> are those you "
|
"current game state. The <b>greyed out cards</b> are those you "
|
||||||
|
@ -75,8 +75,8 @@ attributions = ("Attributions:\n"
|
||||||
modes_explanation = ("This UNO bot has three game modes: Classic, Sanic and Wild.\n\n"
|
modes_explanation = ("This UNO bot has three game modes: Classic, Sanic and Wild.\n\n"
|
||||||
" 🎻 The Classic mode uses the conventional UNO deck and there is no auto skip.\n"
|
" 🎻 The Classic mode uses the conventional UNO deck and there is no auto skip.\n"
|
||||||
" 🚀 The Sanic mode uses the conventional UNO deck and the bot automatically skips a player if he/she takes too long to play its turn\n"
|
" 🚀 The Sanic mode uses the conventional UNO deck and the bot automatically skips a player if he/she takes too long to play its turn\n"
|
||||||
" 🐉 The Wild mode uses a deck with more special cards, less number variety and no auto skip.\n\n"
|
" 🐉 The Wild mode uses a deck with more special cards, less number variety and no auto skip.\n"
|
||||||
" 😐 The Saitama mode uses a deck with more special cards, less number variety and no auto skip. But ended with one win.\n\n"
|
" 😐 The Saitama mode uses a deck with more special cards, less number variety and no auto skip, but ended with one win.\n\n"
|
||||||
"To change the game mode, the GAME CREATOR has to type the bot nickname and a space, just like when playing a card, and all gamemode options should appear.")
|
"To change the game mode, the GAME CREATOR has to type the bot nickname and a space, just like when playing a card, and all gamemode options should appear.")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue