From 697bca33b50c7f225cb07307a3fea543b73fca27 Mon Sep 17 00:00:00 2001 From: Luquinhas Date: Sun, 12 Jan 2025 23:51:25 -0300 Subject: [PATCH] Removed unnecessary string --- src/commands/crew.js | 2 +- src/locales/english.json | 1 - src/locales/portuguese.json | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/commands/crew.js b/src/commands/crew.js index 4ae648c..18b0eb9 100644 --- a/src/commands/crew.js +++ b/src/commands/crew.js @@ -68,7 +68,7 @@ async function handleAdminCommand(ctx, action, successMessage, errorMessage) { }); } } else { - ctx.reply(Strings.botAdminOnly, { + ctx.reply(Strings.noPermission, { reply_to_message_id: ctx.message.message_id }); } diff --git a/src/locales/english.json b/src/locales/english.json index e4e52cb..e442db6 100644 --- a/src/locales/english.json +++ b/src/locales/english.json @@ -17,7 +17,6 @@ "kickingMyself": "*Since you don't need me, I'll leave.*", "kickingMyselfErr": "Error leaving the chat.", "noPermission": "You don't have permission to run this command.", - "botAdminOnly": "This command is exclusive to the bot's general administrators. I can't disclose who they are, nor what this command does.", "privateOnly": "This command should only be used in private chats, not in groups.", "groupOnly": "This command should only be used in groups, not in private chats.", "botNameChanged": "*Bot name changed to* `{botName}`.", diff --git a/src/locales/portuguese.json b/src/locales/portuguese.json index 37cda68..0719b84 100644 --- a/src/locales/portuguese.json +++ b/src/locales/portuguese.json @@ -17,7 +17,6 @@ "kickingMyself": "*Já que você não precisa de mim, vou sair daqui.*", "kickingMyselfErr": "Erro ao sair do chat.", "noPermission": "Você não tem permissão para executar este comando.", - "botAdminOnly": "Este comando é exclusivo para os administradores gerais do bot. Eu não posso revelar quem eles são, nem o que este comando faz.", "privateOnly": "Este comando deve ser usado apenas em chats privados, não em grupos.", "groupOnly": "Este comando deve ser usado apenas em grupos, não em chats privados.", "botNameChanged": "*Nome do bot alterado para* `{botName}`.",