Fix a bunch of linter errors
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
+}