From 7f7fcc7c26deda62406a97dc7f4f90d94c3f56ff Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Wed, 9 Nov 2022 22:47:56 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D0=B8=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Administration/goodbye.js | 4 ++-- commands/Administration/welcome.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/Administration/goodbye.js b/commands/Administration/goodbye.js index 20e92180..681b49aa 100644 --- a/commands/Administration/goodbye.js +++ b/commands/Administration/goodbye.js @@ -51,7 +51,7 @@ class Goodbye extends BaseCommand { if (command === "test") { client.emit("guildMemberRemove", interaction.member); - return interaction.success("administration/goodbye:TEST_SUCCESS"); + return interaction.success("administration/goodbye:TEST_SUCCESS", null, { ephemeral: true }); } else { const state = interaction.options.getBoolean("state"); @@ -82,7 +82,7 @@ class Goodbye extends BaseCommand { interaction.success("administration/goodbye:ENABLED", { channel: `<#${data.guildData.plugins.goodbye.channel}>` - }); + }, { ephemeral: true }); } } } diff --git a/commands/Administration/welcome.js b/commands/Administration/welcome.js index 47f8ebcc..90300707 100644 --- a/commands/Administration/welcome.js +++ b/commands/Administration/welcome.js @@ -51,7 +51,7 @@ class Welcome extends BaseCommand { if (command === "test") { client.emit("guildMemberAdd", interaction.member); - return interaction.success("administration/goodbye:TEST_SUCCESS"); + return interaction.success("administration/goodbye:TEST_SUCCESS", null, { ephemeral: true }); } else { const state = interaction.options.getBoolean("state"); @@ -82,7 +82,7 @@ class Welcome extends BaseCommand { interaction.success("administration/welcome:ENABLED", { channel: `<#${data.guildData.plugins.welcome.channel}>` - }); + }, { ephemeral: true }); } } }