mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-24 22:24:58 +05:00
Фикс показа ника в warn
This commit is contained in:
parent
69df597e02
commit
3560842306
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@ class Warn extends BaseCommand {
|
|||
|
||||
const modal = new ModalBuilder()
|
||||
.setCustomId("warn_modal")
|
||||
.setTitle(interaction.translate("moderation/warn:MODAL_TITLE"));
|
||||
.setTitle(interaction.translate("moderation/warn:MODAL_TITLE", {
|
||||
nickname: member.nick
|
||||
}));
|
||||
|
||||
const reasonInput = new TextInputBuilder()
|
||||
.setCustomId("warn_reason")
|
||||
|
|
Loading…
Reference in a new issue