diff --git a/commands/Administration/goodbye.js b/commands/Administration/goodbye.js index ce514587..8a2c1573 100644 --- a/commands/Administration/goodbye.js +++ b/commands/Administration/goodbye.js @@ -90,7 +90,7 @@ class Goodbye extends Command { if (!channel) return message.error("misc:INVALID_CHANNEL"); goodbye.channel = channel.id; - message.sendT("administration/goodbye:FORM_2", { + return message.sendT("administration/goodbye:FORM_2", { channel: channel.toString(), author: msg.author.tag, memberCount: msg.guild.memberCount diff --git a/commands/Administration/welcome.js b/commands/Administration/welcome.js index 3dbaf627..2e2bd7ad 100644 --- a/commands/Administration/welcome.js +++ b/commands/Administration/welcome.js @@ -93,7 +93,7 @@ class Welcome extends Command { if (!channel) return message.error("misc:INVALID_CHANNEL"); welcome.channel = channel.id; - message.sendT("administration/welcome:FORM_2", { + return message.sendT("administration/welcome:FORM_2", { guildName: message.guild.name, author: msg.author.tag, memberCount: msg.guild.memberCount diff --git a/commands/General/whois.js b/commands/General/whois.js index 2f221d62..93c741c4 100644 --- a/commands/General/whois.js +++ b/commands/General/whois.js @@ -34,7 +34,9 @@ class Whois extends Command { text: data.config.embed.footer }) .setTimestamp(); - return message.reply(embed); + return message.reply({ + embeds: [embed] + }); } const embed = new Discord.MessageEmbed()