diff --git a/commands/Administration/goodbye.js b/commands/Administration/goodbye.js index 7c110f6a..563400cc 100644 --- a/commands/Administration/goodbye.js +++ b/commands/Administration/goodbye.js @@ -67,7 +67,7 @@ class Goodbye extends BaseCommand { interaction.success("administration/goodbye:DISABLED"); } else { const channel = interaction.options.getChannel("channel"); - const message = interaction.options.getString("message"); + const message = interaction.options.getString("message") || interaction.translate("administration/goodbye:DEFAULT_MESSAGE"); const image = interaction.options.getBoolean("image"); data.guildData.plugins.goodbye = { diff --git a/commands/Administration/welcome.js b/commands/Administration/welcome.js index af320614..37f9bae5 100644 --- a/commands/Administration/welcome.js +++ b/commands/Administration/welcome.js @@ -67,7 +67,7 @@ class Welcome extends BaseCommand { interaction.success("administration/welcome:DISABLED"); } else { const channel = interaction.options.getChannel("channel"); - const message = interaction.options.getString("message"); + const message = interaction.options.getString("message") || interaction.translate("administration/welcome:DEFAULT_MESSAGE"); const image = interaction.options.getBoolean("image"); data.guildData.plugins.welcome = {