From 6b95a2c8a3bb6f8991715003f0312bf282d8cb0d Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Fri, 14 Oct 2022 20:40:37 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=B4=D0=BE=D0=BC=D0=BD=D0=BE=D0=B9=20=D0=BE=D1=88=D0=B8=D0=B1?= =?UTF-8?q?=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- events/CommandHandler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/events/CommandHandler.js b/events/CommandHandler.js index 92a908b6..d24d722f 100644 --- a/events/CommandHandler.js +++ b/events/CommandHandler.js @@ -46,7 +46,8 @@ class CommandHandler extends BaseEvent { userData.achievements.firstCommand.achieved = true; userData.markModified("achievements.firstCommand"); await userData.save(); - await interaction.followUp({ + await interaction.channel.send({ + content: interaction.user.toString(), files: [{ name: "achievement_unlocked2.png", attachment: "./assets/img/achievements/achievement_unlocked2.png"