Update 'index.js'
This commit is contained in:
parent
c64b30c9dc
commit
cb751fb3f4
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -38,14 +38,14 @@ bot.on('messageCreate', (message) => {
|
|||
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
|
||||
return;
|
||||
}
|
||||
}
|
||||
else{
|
||||
const techwizz = `<@331669618387058688> `;
|
||||
const sender = techwizz + `${message.author} sent the following message (BUT WAS NOT DELETED)...`
|
||||
const modchat = '510189494809526283';
|
||||
bot.channels.cache.get(modchat).send(sender);
|
||||
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.');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue