From f840ea1511b589ba1e11317112d506082e38b790 Mon Sep 17 00:00:00 2001 From: DairyWeb3638077 <86208278+DairyWeb3638077@users.noreply.github.com> Date: Sat, 17 Dec 2022 14:22:34 -0500 Subject: [PATCH] Update antiad.js Fix Footer --- src/handlers/security/antiad.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 +}