forked from Supositware/Haha-Yes
dosent send message when someone say stop
This commit is contained in:
parent
2db0e2ef8d
commit
9eff0ce827
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
@ -74,12 +74,14 @@ client.registry
|
|||
channel.send({ embed: kickEmbed });
|
||||
});
|
||||
|
||||
|
||||
client.on("message", async (message) => {
|
||||
try {
|
||||
var customresponse = new SelfReloadJSON(`./tag/${message.guild.id}.json`)
|
||||
var autoresponse = new SelfReloadJSON('./json/autoresponse.json');
|
||||
|
||||
let message_content = message.content.toLowerCase();
|
||||
if (message_content.includes('stop')) return;
|
||||
if (message.author.bot) return; {
|
||||
|
||||
// User autoresponse
|
||||
|
|
Loading…
Reference in a new issue