Fix includes error

Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
loicbersier 2020-05-12 17:52:06 +02:00
parent bdac7fc268
commit 858de42d4a

View file

@ -52,6 +52,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')) return message.channel.send('No discord invite allowed.');