Fix bot creating its own ticket

This commit is contained in:
Isaac
2021-05-12 18:04:38 +01:00
parent 6506a4e876
commit a0ec19faee

View File

@@ -28,6 +28,8 @@ module.exports = {
});
}
} else {
if (message.author.bot) return;
let p_row = await client.db.models.Panel.findOne({
where: {
channel: message.channel.id