mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-02 16:41:25 +03:00
Fix bot creating its own ticket
This commit is contained in:
@@ -28,6 +28,8 @@ module.exports = {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (message.author.bot) return;
|
||||||
|
|
||||||
let p_row = await client.db.models.Panel.findOne({
|
let p_row = await client.db.models.Panel.findOne({
|
||||||
where: {
|
where: {
|
||||||
channel: message.channel.id
|
channel: message.channel.id
|
||||||
|
Reference in New Issue
Block a user