diff --git a/src/handlers/security/antiad.js b/src/handlers/security/antiad.js index 4ea59e8..ecf2bb0 100644 --- a/src/handlers/security/antiad.js +++ b/src/handlers/security/antiad.js @@ -123,7 +123,7 @@ module.exports = (client) => { .setAuthor(client.user.username, client.user.avatarURL()) .setDescription(`Discord links are not allowed in this server!`) .setColor(client.config.colors.error) - .setFooter(client.config.discord.footer) + .setFooter({ text: client.config.discord.footer }) .setTimestamp(); var msg = newMessage.channel.send({ content: `${newMessage.author}`, embeds: [error] }) setTimeout(() => { @@ -153,7 +153,7 @@ module.exports = (client) => { .setAuthor(client.user.username, client.user.avatarURL()) .setDescription(`Links are not allowed in this server!`) .setColor(client.config.colors.error) - .setFooter(client.config.discord.footer) + .setFooter({ text: client.config.discord.footer }) .setTimestamp(); var msg = newMessage.channel.send({ content: `${newMessage.author}`, embeds: [error] }) setTimeout(() => { @@ -172,7 +172,7 @@ module.exports = (client) => { .setAuthor(client.user.username, client.user.avatarURL()) .setDescription(`Links are not allowed in this server!`) .setColor(client.config.colors.error) - .setFooter(client.config.discord.footer) + .setFooter({ text: client.config.discord.footer }) .setTimestamp(); var msg = newMessage.channel.send({ content: `${newMessage.author}`, embeds: [error] }) setTimeout(() => { @@ -189,4 +189,4 @@ module.exports = (client) => { } }) }).setMaxListeners(0); -} \ No newline at end of file +}