From e273a15d1ecc14ab097955059bc94078024ed4ba Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sun, 19 Mar 2023 23:33:41 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D1=8B=20tictactoe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helpers/tictactoe.js | 3 +-- languages/ru-RU/economy/tictactoe.json | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/helpers/tictactoe.js b/helpers/tictactoe.js index 4b70b7c5..7459e8e0 100644 --- a/helpers/tictactoe.js +++ b/helpers/tictactoe.js @@ -68,7 +68,7 @@ async function tictactoe(interaction, options = {}) { const acceptEmbed = new EmbedBuilder() .setTitle(interaction.translate("economy/tictactoe:REQUEST_WAIT", { - user: opponent.id, + user: opponent.toString(), })) .setAuthor({ name: (interaction.user ? interaction.user : interaction.author).tag, @@ -664,7 +664,6 @@ async function tictactoe(interaction, options = {}) { const collector = m.createMessageComponentCollector({ componentType: ComponentType.Button, max: 1, - time: (5 * 1000), }); collector.on("collect", b => { diff --git a/languages/ru-RU/economy/tictactoe.json b/languages/ru-RU/economy/tictactoe.json index 69a0b9c1..710e664e 100644 --- a/languages/ru-RU/economy/tictactoe.json +++ b/languages/ru-RU/economy/tictactoe.json @@ -6,8 +6,8 @@ "YOURSELF": "Вы не можете играть с самим собой!", "INVITE_USER": "<@{{opponent}}>, вам предложили сыграть в крестики-нолики!", "REQUEST_SEND": "Запрос отправлен <@{{opponent}}>", - "REQUEST_WAIT": "Ожидаю ответа <@{{user}}>", - "WAITING": "Ожидаю ход | <@{{user}}>, Ваш эмодзи: {{emoji}}", + "REQUEST_WAIT": "Ожидаю ответа {{user}}", + "WAITING": "Ожидаю ход <@{{user}}> | Ваш эмодзи: {{emoji}}", "WON": "<@{{winner}}> ({{emoji}}) выиграл!", "CANT_PLAY": "Сейчас не ваш ход!", "TIE": "Ничья",