This commit is contained in:
Alex Brow 2020-02-17 00:54:17 -05:00
parent 53028ba145
commit 1a44e63a12
No known key found for this signature in database
GPG Key ID: F48926893F475C25
1 changed files with 2 additions and 1 deletions

View File

@ -39,9 +39,10 @@ client.on("guildDelete", guild => {
client.on("message", async message => {
// This event will run on every single message received, from any channel or DM.
//people are assholes so this blocks it!
if(message.content.toLowerCase().includes('osseley','nigger',"nigga","niglet","nigglet")){
if(message.content.toLowerCase().includes('osseley','nigger',"nigga","niglet","nigglet","lil adderal")){
message.member.addRole('654366653093642241').catch(console.error);
message.member.removeRole('514254335425773589').catch(console.error);
console.log(`${message.member} has been detained`)
return message.reply('Member has been D E T A I N E D <:yikes:632660765878255636>')
}
// It's good practice to ignoe other bots. This also makes your bot ignore itself