Fix some more eslint & ts errors
diff --git a/src/utils/database.ts b/src/utils/database.ts
index 3592c95..140dbcc 100644
--- a/src/utils/database.ts
+++ b/src/utils/database.ts
@@ -1,6 +1,5 @@
import type Discord from "discord.js";
import { Collection, MongoClient } from "mongodb";
-// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
import structuredClone from "@ungap/structured-clone";
import config from "../config/main.json" assert { type: "json" };
@@ -95,10 +94,10 @@
}
}
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
async remove(
guild: string,
key: string,
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
value: any,
innerKey?: string | null
) {
diff --git a/src/utils/generateEmojiEmbed.ts b/src/utils/generateEmojiEmbed.ts
index c1de60f..69058ae 100644
--- a/src/utils/generateEmojiEmbed.ts
+++ b/src/utils/generateEmojiEmbed.ts
@@ -11,7 +11,6 @@
_title = "";
_emoji: string | null = null;
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
// This *is* meant to be an accessor rather than a property
override get title() {