manual fixes, disable some errors

This commit is contained in:
itsMapleLeaf
2023-09-27 13:29:20 -05:00
parent 0d4294ee8c
commit 576dd2e35e
6 changed files with 12 additions and 3 deletions

View File

@@ -374,6 +374,8 @@ function getDiscordMessageOptions(reacordOptions: MessageOptions) {
}
}
// future proofing
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (component.type === "select") {
return {
...component,

View File

@@ -34,7 +34,7 @@ for (const [, channel] of category.children.cache) {
let prefix = 0
const createTest = async (
name: string,
block: (channel: TextChannel) => void | Promise<unknown>,
block: (channel: TextChannel) => unknown,
) => {
prefix += 1
const channel = await category.children.create({