diff --git a/src/util/filter/tests/links.js b/src/util/filter/tests/links.js index 34aa907..ad6c4bb 100644 --- a/src/util/filter/tests/links.js +++ b/src/util/filter/tests/links.js @@ -41,7 +41,6 @@ module.exports = async function(message, client, Discord) { } catch {} blocked.setAuthor({ name: message.author.tag.endsWith("#0") ? `@${message.author.username}` : message.author.tag, iconURL: message.author.displayAvatarURL({ format: "png", dynamic: true }), url: `https://discord.com/users/${message.author.id}` }); - blocked.setDescription(null); const actions = new Discord.ActionRowBuilder() .addComponents ( diff --git a/src/util/filter/tests/phishing.js b/src/util/filter/tests/phishing.js index 2f668b1..bc3d927 100644 --- a/src/util/filter/tests/phishing.js +++ b/src/util/filter/tests/phishing.js @@ -72,7 +72,6 @@ module.exports = async function(message, client, Discord) { } catch {} blocked.setAuthor({ name: message.author.tag.endsWith("#0") ? `@${message.author.username}` : message.author.tag, iconURL: message.author.displayAvatarURL({ format: "png", dynamic: true }), url: `https://discord.com/users/${message.author.id}` }); - blocked.setDescription(null); blockedChannel.send({ embeds: [blocked] }); diff --git a/src/util/filter/tests/profanity.js b/src/util/filter/tests/profanity.js index d407469..a9c0b9c 100644 --- a/src/util/filter/tests/profanity.js +++ b/src/util/filter/tests/profanity.js @@ -73,7 +73,6 @@ module.exports = async function(message, client, Discord) { } catch {} blocked.setAuthor({ name: message.author.tag.endsWith("#0") ? `@${message.author.username}` : message.author.tag, iconURL: message.author.displayAvatarURL({ format: "png", dynamic: true }), url: `https://discord.com/users/${message.author.id}` }); - blocked.setDescription(null); const actions = new Discord.ActionRowBuilder() .addComponents ( @@ -124,7 +123,6 @@ module.exports = async function(message, client, Discord) { } catch {} blocked.setAuthor({ name: message.author.tag.endsWith("#0") ? `@${message.author.username}` : message.author.tag, iconURL: message.author.displayAvatarURL({ format: "png", dynamic: true }), url: `https://discord.com/users/${message.author.id}` }); - blocked.setDescription(null); const actions = new Discord.ActionRowBuilder() .addComponents (