make tag work without autoresponse
This commit is contained in:
parent
da2336036c
commit
e0556346ff
1 changed files with 124 additions and 124 deletions
|
@ -40,6 +40,7 @@ class messageListener extends Listener {
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
// User autoresponse
|
||||
const tag = await Tag.findOne({where: {trigger: message.content.toLowerCase(), serverID: message.guild.id}});
|
||||
if (tag) {
|
||||
|
@ -167,6 +168,5 @@ class messageListener extends Listener {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = messageListener;
|
Loading…
Reference in a new issue