Update 'index.js'

This commit is contained in:
Paul Black 2022-08-24 05:06:21 +00:00
parent c64b30c9dc
commit cb751fb3f4

View file

@ -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.');
}