mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-28 16:14:59 +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()
|
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")
|
||||||
|
|
Loading…
Reference in a new issue