From 7976d179ed152b8c99933ce90506a940138ce5e9 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Mon, 1 Jul 2019 00:41:14 +0200 Subject: [PATCH] remove zero width space --- commands/general/tweet.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/general/tweet.js b/commands/general/tweet.js index c9126b39..11937b99 100644 --- a/commands/general/tweet.js +++ b/commands/general/tweet.js @@ -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;