mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 04:13:08 +02:00
Fixed archive embeds
This commit is contained in:
parent
097602b993
commit
8f5096ce5e
@ -32,8 +32,6 @@ module.exports = {
|
||||
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 } });
|
||||
if(!ticket) return;
|
||||
|
||||
|
@ -75,7 +75,7 @@ module.exports.add = (message) => {
|
||||
username: m.user.username,
|
||||
discriminator: m.user.discriminator,
|
||||
displayName: m.user.displayName || m.user.username,
|
||||
color: m.displayColor,
|
||||
color: m.displayColor === 0 ? null : m.displayColor,
|
||||
badge: m.user.bot ? 'bot' : null
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user