I hereby decree that this document shall no longer contain the substring " == ", and hereafter shall be referred to as " === ". This amendment shall take effect immediately.
Signed-off-by: pineafan <pineapplefanyt@gmail.com>
diff --git a/src/events/emojiUpdate.ts b/src/events/emojiUpdate.ts
index 79fb171..a90de9a 100644
--- a/src/events/emojiUpdate.ts
+++ b/src/events/emojiUpdate.ts
@@ -6,10 +6,10 @@
try {
const { getAuditLog, log, NucleusColors, entry, renderDelta, renderUser, renderEmoji } = client.logger
- if (oe.name == ne.name) return
+ if (oe.name === ne.name) return
let auditLog = await getAuditLog(ne.guild, 'EMOJI_UPDATE');
let audit = auditLog.entries.first();
- if (audit.executor.id == client.user.id) return;
+ if (audit.executor.id === client.user.id) return;
let changes = {
emojiId: entry(ne.id, `\`${ne.id}\``),