From 8bc393937adf3502d66b0c0e3c5d207331eff3cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Fri, 3 Jul 2020 16:19:32 +0000 Subject: [PATCH] don't allow discord.com/invite --- commands/general/tweet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/general/tweet.js b/commands/general/tweet.js index f98ab422..e13e4381 100644 --- a/commands/general/tweet.js +++ b/commands/general/tweet.js @@ -53,7 +53,7 @@ class tweetCommand extends Command { if (args.text) - if (args.text.includes('discord.gg')) return message.channel.send('No discord invite allowed.'); + if (args.text.includes('discord.gg') || args.text.includes('discord.com/invite/')) return message.channel.send('No discord invite allowed.'); const client = this.client;