mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-09 14:23:08 +02:00
Fix bot creating its own ticket
This commit is contained in:
parent
6506a4e876
commit
a0ec19faee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user