Фикс показа ника в warn

This commit is contained in:
JonnyBro 2022-09-11 19:43:57 +05:00
parent 69df597e02
commit 3560842306

View file

@ -45,7 +45,9 @@ class Warn extends BaseCommand {
const modal = new ModalBuilder() const modal = new ModalBuilder()
.setCustomId("warn_modal") .setCustomId("warn_modal")
.setTitle(interaction.translate("moderation/warn:MODAL_TITLE")); .setTitle(interaction.translate("moderation/warn:MODAL_TITLE", {
nickname: member.nick
}));
const reasonInput = new TextInputBuilder() const reasonInput = new TextInputBuilder()
.setCustomId("warn_reason") .setCustomId("warn_reason")