Fix some more eslint errors (not yet complete)
diff --git a/src/commands/ticket/close.ts b/src/commands/ticket/close.ts
index b3e5351..ed27abc 100644
--- a/src/commands/ticket/close.ts
+++ b/src/commands/ticket/close.ts
@@ -1,6 +1,5 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
-import { WrappedCheck } from "jshaiku";
import close from "../../actions/tickets/delete.js";
const command = (builder: SlashCommandSubcommandBuilder) =>
@@ -8,14 +7,14 @@
.setName("close")
.setDescription("Closes a ticket");
-const callback = async (interaction: CommandInteraction): Promise<any> => {
+const callback = async (interaction: CommandInteraction): Promise<void> => {
await close(interaction);
};
-const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
+const check = () => {
return true;
};
export { command };
export { callback };
-export { check };
\ No newline at end of file
+export { check };
diff --git a/src/commands/ticket/create.ts b/src/commands/ticket/create.ts
index 25de336..55962d7 100644
--- a/src/commands/ticket/create.ts
+++ b/src/commands/ticket/create.ts
@@ -1,6 +1,5 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
-import { WrappedCheck } from "jshaiku";
import create from "../../actions/tickets/create.js";
const command = (builder: SlashCommandSubcommandBuilder) =>
@@ -9,14 +8,14 @@
.setDescription("Creates a new modmail ticket")
.addStringOption(option => option.setName("message").setDescription("The content of the ticket").setRequired(false));
-const callback = async (interaction: CommandInteraction): Promise<any> => {
+const callback = async (interaction: CommandInteraction): Promise<void> => {
await create(interaction);
};
-const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
+const check = () => {
return true;
};
export { command };
export { callback };
-export { check };
\ No newline at end of file
+export { check };