formatting
This commit is contained in:
parent
cb751fb3f4
commit
13ad77832a
1 changed files with 11 additions and 11 deletions
6
index.js
6
index.js
|
@ -35,6 +35,9 @@ bot.on('messageCreate', (message) => {
|
||||||
bot.channels.cache.get(modchat).send(sender);
|
bot.channels.cache.get(modchat).send(sender);
|
||||||
bot.channels.cache.get(modchat).send(message);
|
bot.channels.cache.get(modchat).send(message);
|
||||||
}
|
}
|
||||||
|
else if(message.content.toLowerCase().includes('bot say sorry')){
|
||||||
|
message.channel.send('I am sorry for whatever I did. It will not happen again.');
|
||||||
|
}
|
||||||
else if(message.content.toLowerCase().includes('tit') || message.content.toLowerCase().includes('cock')){
|
else if(message.content.toLowerCase().includes('tit') || message.content.toLowerCase().includes('cock')){
|
||||||
if (message.content.toLowerCase().includes('title')){ //These are not bad words and will be bypassed
|
if (message.content.toLowerCase().includes('title')){ //These are not bad words and will be bypassed
|
||||||
return;
|
return;
|
||||||
|
@ -46,9 +49,6 @@ bot.on('messageCreate', (message) => {
|
||||||
bot.channels.cache.get(modchat).send(sender);
|
bot.channels.cache.get(modchat).send(sender);
|
||||||
bot.channels.cache.get(modchat).send(message);
|
bot.channels.cache.get(modchat).send(message);
|
||||||
}
|
}
|
||||||
else if(message.content.toLowerCase().includes('bot say sorry')){
|
|
||||||
message.channel.send('I am sorry for whatever I did. It will not happen again.');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//make sure this line is the last line
|
//make sure this line is the last line
|
||||||
|
|
Loading…
Reference in a new issue