From 14bd90ea925b68cb82f42370ef33cd2c7cb3eeae Mon Sep 17 00:00:00 2001 From: Karho Date: Sat, 4 Mar 2017 09:30:09 +0800 Subject: [PATCH] Update bot.py --- bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index f021994..f317ce0 100644 --- a/bot.py +++ b/bot.py @@ -447,15 +447,15 @@ def mode(bot, update): return if game.owner.id == user.id and not games.started: - kb = [["🎻 " + __("Original"), "🚴 " + __("Progressive UNO")]] + kb = [["🎻 " + _("Original"), "🚴 " + _("Progressive UNO")]] markup = ReplyKeyboardMarkup(kb, resize_keyboard=True, one_time_keyboard=True) - choice = send_async(bot, chat.id, text=__("Choose the game mode:"), reply_markup = markup) + choice = send_async(bot, chat.id, text=_("Choose the game mode:"), reply_markup = markup) if choice[0] == "🎻": game.mode = 0 - send_async(bot, chat.id, text=__("Original rules will be used.")) + send_async(bot, chat.id, text=_("Original rules will be used.")) else if choice[0] == "🚴": game.mode = 1 - send_async(bot, chat.id, text=__("Progressive UNO rules will be used.")) + send_async(bot, chat.id, text=_("Progressive UNO rules will be used.")) return else: