if(err.code==186)returnmessage.channel.send(`${err.message} Your message was ${text.length} characters, you need to remove ${text.length-280} characters`);// Tweet needs to be a bit shorter.
if(err.code==186)returnmessage.channel.send(`${err.message} Your message was ${text.length} characters, you need to remove ${text.length-280} characters (This count may be inaccurate if your message contained link)`);// Tweet needs to be a bit shorter.
if(err.code==187)returnmessage.channel.send(err.message);// Status is a duplicate.
if(err.code==326)returnmessage.channel.send(err.message);// To protect our users from spam and other malicious activity, this account is temporarily locked.