diff --git a/src/events/stickerUpdate.ts b/src/events/stickerUpdate.ts
index 1bb0fe6..46c4d17 100644
--- a/src/events/stickerUpdate.ts
+++ b/src/events/stickerUpdate.ts
@@ -1,7 +1,8 @@
 export const event = "stickerUpdate";
 
 export async function callback(client, oe, ne) {
-    const { getAuditLog, log, NucleusColors, entry, renderDelta, renderUser } = client.logger;
+    const { getAuditLog, log, NucleusColors, entry, renderDelta, renderUser } =
+        client.logger;
 
     if (oe.name === ne.name) return;
     const auditLog = await getAuditLog(ne.guild, "EMOJI_UPDATE");
@@ -9,13 +10,16 @@
     if (audit.executor.id === client.user.id) return;
 
     const changes = {
-        stickerId:entry(ne.id, `\`${ne.id}\``),
+        stickerId: entry(ne.id, `\`${ne.id}\``),
         edited: entry(ne.createdTimestamp, renderDelta(ne.createdTimestamp)),
-        editedBy: entry(audit.executor.id, renderUser((await ne.guild.members.fetch(audit.executor.id)).user)),
+        editedBy: entry(
+            audit.executor.id,
+            renderUser((await ne.guild.members.fetch(audit.executor.id)).user)
+        ),
         name: entry([oe.name, ne.name], `\`:${oe.name}:\` -> \`:${ne.name}:\``)
     };
     const data = {
-        meta:{
+        meta: {
             type: "stickerUpdate",
             displayName: "Sticker Edited",
             calculateType: "stickerUpdate",
@@ -29,4 +33,4 @@
         }
     };
     log(data);
-}
\ No newline at end of file
+}
