diff --git a/src/events/messageUpdate.js b/src/events/messageUpdate.js index eee70d7..02452a1 100644 --- a/src/events/messageUpdate.js +++ b/src/events/messageUpdate.js @@ -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; diff --git a/src/modules/archive.js b/src/modules/archive.js index 3822325..b1a96ea 100644 --- a/src/modules/archive.js +++ b/src/modules/archive.js @@ -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 });