mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
Fixed archive embeds
This commit is contained in:
parent
097602b993
commit
8f5096ce5e
@ -32,8 +32,6 @@ module.exports = {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(o.content === n.content) return; // apparently editing a message isn't the only thing that emits this event
|
|
||||||
|
|
||||||
let ticket = await Ticket.findOne({ where: { channel: n.channel.id } });
|
let ticket = await Ticket.findOne({ where: { channel: n.channel.id } });
|
||||||
if(!ticket) return;
|
if(!ticket) return;
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ module.exports.add = (message) => {
|
|||||||
username: m.user.username,
|
username: m.user.username,
|
||||||
discriminator: m.user.discriminator,
|
discriminator: m.user.discriminator,
|
||||||
displayName: m.user.displayName || m.user.username,
|
displayName: m.user.displayName || m.user.username,
|
||||||
color: m.displayColor,
|
color: m.displayColor === 0 ? null : m.displayColor,
|
||||||
badge: m.user.bot ? 'bot' : null
|
badge: m.user.bot ? 'bot' : null
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user