@ -31,13 +32,6 @@ class tweetCommand extends Command {
}
asyncexec(message,args){
if(args.text){
// Very simple link detection
if(newRegExp('([a-zA-Z0-9]+://)?([a-zA-Z0-9_]+:[a-zA-Z0-9_]+@)?([a-zA-Z0-9.-]+\\.[A-Za-z]{2,4})(:[0-9]+)?(/.*)?').test(args.text)&&!args.text.includes('twitter.com'))returnmessage.channel.send('You may not tweet links outside of twitter.com');
returnmessage.channel.send('Your account need to be 6 months or older to be able to send attachment!');
}
if(args.text){
// Detect banned word (Blacklist the user directly)
if(wordToCensor.includes(args.text)){
constbody={userID:message.author.id,reason:'Automatic ban from banned word.'};
TwitterBlacklist.create(body);
returnmessage.channel.send('Sike, you just posted cringe! Enjoy the blacklist :)');
}
// Very simple link detection
if(newRegExp('([a-zA-Z0-9]+://)?([a-zA-Z0-9_]+:[a-zA-Z0-9_]+@)?([a-zA-Z0-9.-]+\\.[A-Za-z]{2,4})(:[0-9]+)?(/.*)?').test(args.text)&&!args.text.includes('twitter.com'))returnmessage.channel.send('You may not tweet links outside of twitter.com');
["1488","14/88","14 88","niggar","nigar","n\ni\ng\ng\ne\nr","n i g g e r","@jack","nugger","pd","fdp","nègre","negro","a","we must secure the existance of our people and a future for white children."]
["1488","14/88","14 88","niggar","nigger","nigar","kys","kill yourself","faggot","fag","kill ur self","n\ni\ng\ng\ne\nr","n i g g e r","we must secure the existance of our people and a future for white children."]