mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-04-28 17:15:57 +00:00
Removed unnecessary string
This commit is contained in:
parent
50faf8b11f
commit
697bca33b5
@ -68,7 +68,7 @@ async function handleAdminCommand(ctx, action, successMessage, errorMessage) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ctx.reply(Strings.botAdminOnly, {
|
ctx.reply(Strings.noPermission, {
|
||||||
reply_to_message_id: ctx.message.message_id
|
reply_to_message_id: ctx.message.message_id
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
"kickingMyself": "*Since you don't need me, I'll leave.*",
|
"kickingMyself": "*Since you don't need me, I'll leave.*",
|
||||||
"kickingMyselfErr": "Error leaving the chat.",
|
"kickingMyselfErr": "Error leaving the chat.",
|
||||||
"noPermission": "You don't have permission to run this command.",
|
"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.",
|
"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.",
|
"groupOnly": "This command should only be used in groups, not in private chats.",
|
||||||
"botNameChanged": "*Bot name changed to* `{botName}`.",
|
"botNameChanged": "*Bot name changed to* `{botName}`.",
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
"kickingMyself": "*Já que você não precisa de mim, vou sair daqui.*",
|
"kickingMyself": "*Já que você não precisa de mim, vou sair daqui.*",
|
||||||
"kickingMyselfErr": "Erro ao sair do chat.",
|
"kickingMyselfErr": "Erro ao sair do chat.",
|
||||||
"noPermission": "Você não tem permissão para executar este comando.",
|
"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.",
|
"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.",
|
"groupOnly": "Este comando deve ser usado apenas em grupos, não em chats privados.",
|
||||||
"botNameChanged": "*Nome do bot alterado para* `{botName}`.",
|
"botNameChanged": "*Nome do bot alterado para* `{botName}`.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user