remove zero width space

This commit is contained in:
loicbersier 2019-07-01 00:41:14 +02:00
parent f1226e9ca0
commit 7976d179ed

View file

@ -43,7 +43,8 @@ class tweetCommand extends Command {
return message.channel.send('You have been blacklisted from this command... be less naughty next time.');
}
let text = args.text;
// remove zero width space
let text = args.text.replace('');
if (!text)
return;