diff --git a/commands/General/emoji.js b/commands/General/emoji.js index 7bd2a247..fa6e813b 100644 --- a/commands/General/emoji.js +++ b/commands/General/emoji.js @@ -57,7 +57,7 @@ class Emoji extends BaseCommand { value: parsedEmoji.animated ? interaction.translate("common:YES") : interaction.translate("common:NO") }, { - name: interaction.translate("general/emoji:SERVER_ID"), + name: interaction.translate("common:ID"), value: parsedEmoji.id?.toString() || interaction.translate("general/emoji:STANDART") }, { diff --git a/events/CommandHandler.js b/events/CommandHandler.js index d24d722f..a8183e51 100644 --- a/events/CommandHandler.js +++ b/events/CommandHandler.js @@ -55,6 +55,8 @@ class CommandHandler extends BaseEvent { }); } + client.logger.log(`User ${interaction.user.tag} used ${command.command.name} in ${interaction.guild.name} with arguments: ${interaction.options.data.map(arg => { return `${arg.name}: ${arg.value}`; }).join(", ")}`, "cmd"); + return command.execute(client, interaction, data); } } diff --git a/languages/ru-RU/common.json b/languages/ru-RU/common.json index 3b7eafc3..7e5af8d1 100644 --- a/languages/ru-RU/common.json +++ b/languages/ru-RU/common.json @@ -23,6 +23,7 @@ "SERVER_ID": "ID сервера", "MESSAGE_ID": "ID сообщения", "USER_ID": "ID пользователя", + "ID": "ID", "INT": "Целое число", "IP": "IP адрес", "JOINED": "Присоеденился", diff --git a/languages/ru-RU/general/emoji.json b/languages/ru-RU/general/emoji.json index 075abffd..efeed87b 100644 --- a/languages/ru-RU/general/emoji.json +++ b/languages/ru-RU/general/emoji.json @@ -4,7 +4,6 @@ "EXAMPLES": "emoji emoji::tada:", "TITLE": "Информация об {{emoji}}", "ANIMATED": "Анимирован", - "ID": "ID", "LINK": "Ссылка", "STANDART": "Стандартный эмодзи" } \ No newline at end of file diff --git a/languages/uk-UA/general/emoji.json b/languages/uk-UA/general/emoji.json index 62782c90..c227fad7 100644 --- a/languages/uk-UA/general/emoji.json +++ b/languages/uk-UA/general/emoji.json @@ -4,7 +4,6 @@ "EXAMPLES": "emoji emoji::tada:", "TITLE": "Інформація про {{emoji}}", "ANIMATED": "Анімований", - "ID": "ID", "LINK": "Посилання", "STANDART": "Стандартний емодзі" } \ No newline at end of file