Fixed archive embeds

This commit is contained in:
Isaac (eartharoid) 2020-08-25 20:26:29 +01:00
parent 097602b993
commit 8f5096ce5e
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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
}); });