Reformat with prettier
diff --git a/src/events/channelUpdate.ts b/src/events/channelUpdate.ts
index 2f07717..b90d714 100644
--- a/src/events/channelUpdate.ts
+++ b/src/events/channelUpdate.ts
@@ -41,7 +41,7 @@
maxUsers?: ReturnType<typeof entry>;
autoArchiveDuration?: ReturnType<typeof entry>;
[key: string]: unknown;
-}
+};
export const event = "channelUpdate";
diff --git a/src/utils/database.ts b/src/utils/database.ts
index 95cdb68..8ad2fb3 100644
--- a/src/utils/database.ts
+++ b/src/utils/database.ts
@@ -470,7 +470,8 @@
if (child.type === ComponentType.Button) {
obj.style = child.style;
obj.label = child.label ?? "";
- } else if (child.type > 2) { // FIXME: Can we write this more clearly to make it obvious what we mean by 2 here?
+ } else if (child.type > 2) {
+ // FIXME: Can we write this more clearly to make it obvious what we mean by 2 here?
obj.placeholder = child.placeholder ?? "";
}
return obj;
diff --git a/src/utils/getEmojiByName.ts b/src/utils/getEmojiByName.ts
index 56f1444..ebcb257 100644
--- a/src/utils/getEmojiByName.ts
+++ b/src/utils/getEmojiByName.ts
@@ -18,7 +18,7 @@
}
getEmojiPaths(emojis);
-function getEmojiByName(name: typeof EMOJIPATHS[number], format?: string): string {
+function getEmojiByName(name: (typeof EMOJIPATHS)[number], format?: string): string {
const parts = name.split(".");
let id: string | EmojisIndex | EmojisIndex[] | undefined = emojis;
for (const part of parts) {