From 35608423060cba03ecd85b4bf1927a39903f6959 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 11 Sep 2022 19:43:57 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BF=D0=BE=D0=BA?= =?UTF-8?q?=D0=B0=D0=B7=D0=B0=20=D0=BD=D0=B8=D0=BA=D0=B0=20=D0=B2=20warn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Moderation/warn.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/Moderation/warn.js b/commands/Moderation/warn.js index 67501e13..adb0003a 100644 --- a/commands/Moderation/warn.js +++ b/commands/Moderation/warn.js @@ -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")