diff --git a/commands/Administration/goodbye.js b/commands/Administration/goodbye.js index 8c27eeea..ab6c4e0d 100644 --- a/commands/Administration/goodbye.js +++ b/commands/Administration/goodbye.js @@ -109,7 +109,7 @@ class Goodbye extends BaseCommand { } else { const channel = interaction.options.getChannel("channel") || interaction.channel; const message = interaction.options.getString("message") || interaction.translate("administration/goodbye:DEFAULT_MESSAGE"); - const image = interaction.options.getBoolean("image") === true ? true : false; + const image = interaction.options.getBoolean("image") || false; guildData.plugins.goodbye = { enabled: true, @@ -122,7 +122,7 @@ class Goodbye extends BaseCommand { interaction.success("administration/goodbye:ENABLED", { channel: `${channel.toString()}`, - }, { ephemeral: true }); + }, { edit: true }); } } } diff --git a/commands/Administration/welcome.js b/commands/Administration/welcome.js index 84078471..130d2ccb 100644 --- a/commands/Administration/welcome.js +++ b/commands/Administration/welcome.js @@ -109,7 +109,7 @@ class Welcome extends BaseCommand { } else { const channel = interaction.options.getChannel("channel") || interaction.channel; const message = interaction.options.getString("message") || interaction.translate("administration/welcome:DEFAULT_MESSAGE"); - const image = interaction.options.getBoolean("image") === true ? true : false; + const image = interaction.options.getBoolean("image") || false; guildData.plugins.welcome = { enabled: true,