forked from Supositware/Haha-Yes
Fix includes error
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
parent
bdac7fc268
commit
858de42d4a
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ class tweetCommand extends Command {
|
|||
}
|
||||
|
||||
|
||||
if (args.text.includes('discord.gg')) return message.channel.send('No discord invite allowed.');
|
||||
if (args.text)
|
||||
if (args.text.includes('discord.gg')) return message.channel.send('No discord invite allowed.');
|
||||
|
||||
|
||||
const client = this.client;
|
||||
|
|
Loading…
Reference in a new issue