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) {
|
||||
|
@ -166,7 +167,6 @@ class messageListener extends Listener {
|
|||
return message.channel.send(text);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = messageListener;
|
Loading…
Reference in a new issue