diff --git a/src/client/commands/bug.js b/src/client/commands/bug.js index 8b9cd77..4a10b3f 100644 --- a/src/client/commands/bug.js +++ b/src/client/commands/bug.js @@ -17,7 +17,7 @@ module.exports = { .setColor(client.config.embedColor) .setDescription(message.bugDescription) .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); - msg.channel.send(embed); + msg.channel.send({ embed: embed }); }, }; \ No newline at end of file diff --git a/src/client/commands/help.js b/src/client/commands/help.js index 085ab96..2cdddd0 100644 --- a/src/client/commands/help.js +++ b/src/client/commands/help.js @@ -24,7 +24,7 @@ module.exports = { .setColor(client.config.embedColor) .setDescription(message.helpCommandDescription) .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); - msg.channel.send(embed); + msg.channel.send({ embed: embed }); } else { const categories = []; for (let i = 0; i < client.commands.size; i++) { @@ -45,7 +45,7 @@ module.exports = { .setColor(client.config.embedColor) .setDescription(message.helpDescription) .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); - msg.channel.send(embed); + msg.channel.send({ embed: embed }); } } }; diff --git a/src/client/commands/invite.js b/src/client/commands/invite.js index 269fe71..4323358 100644 --- a/src/client/commands/invite.js +++ b/src/client/commands/invite.js @@ -13,6 +13,6 @@ module.exports = { .setColor(client.config.embedColor) .setURL("https://discordapp.com/api/oauth2/authorize?client_id=" + client.user.id + "&permissions=3427328&scope=bot") .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); - return msg.channel.send(embed); + return msg.channel.send({ embed: embed }); } }; \ No newline at end of file diff --git a/src/client/commands/list.js b/src/client/commands/list.js index 8270af4..4560015 100644 --- a/src/client/commands/list.js +++ b/src/client/commands/list.js @@ -23,6 +23,6 @@ module.exports = { .setColor(client.config.embedColor) .setDescription(stations) .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); - return msg.channel.send(embed); + return msg.channel.send({ embed: embed }); } }; \ No newline at end of file diff --git a/src/client/commands/maintenance.js b/src/client/commands/maintenance.js index bfb3a42..5b42fc4 100644 --- a/src/client/commands/maintenance.js +++ b/src/client/commands/maintenance.js @@ -48,6 +48,6 @@ module.exports = { .setColor(client.config.embedColor) .setDescription("Stopped all radios" + "\n" + stoppedRadios) .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); - return msg.channel.send(embed); + return msg.channel.send({ embed: embed }); } }; \ No newline at end of file diff --git a/src/client/commands/nowplaying.js b/src/client/commands/nowplaying.js index eb59eb5..d2a0709 100644 --- a/src/client/commands/nowplaying.js +++ b/src/client/commands/nowplaying.js @@ -25,6 +25,6 @@ module.exports = { .setColor(client.config.embedColor) .setDescription(message.nowplayingDescription) .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); - return msg.channel.send(embed); + return msg.channel.send({ embed: embed }); } }; \ No newline at end of file diff --git a/src/client/commands/statistics.js b/src/client/commands/statistics.js index 4d91085..697e03e 100644 --- a/src/client/commands/statistics.js +++ b/src/client/commands/statistics.js @@ -34,6 +34,6 @@ module.exports = { .setColor(client.config.embedColor) .setDescription(statistics) .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); - return msg.channel.send(embed); + return msg.channel.send({ embed: embed }); } }; \ No newline at end of file diff --git a/src/client/commands/status.js b/src/client/commands/status.js index 9cda430..74a6b0a 100644 --- a/src/client/commands/status.js +++ b/src/client/commands/status.js @@ -21,7 +21,7 @@ module.exports = { .addField(client.messages.statusField4, client.config.version, true) .addField(client.messages.statusField5, client.config.hostedBy, true) .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')); - msg.channel.send(embed); + msg.channel.send({ embed: embed }); } }; \ No newline at end of file