Merge pull request #54 from DairyWeb3638077/patch-1

Update antiad.js
This commit is contained in:
Corwin 2022-12-17 20:24:41 +01:00 committed by GitHub
commit 553d45785f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}