diff --git a/src/commands/dev-info.ts b/src/commands/dev-info.ts index 6b16cd0..87497a7 100644 --- a/src/commands/dev-info.ts +++ b/src/commands/dev-info.ts @@ -5,7 +5,7 @@ import { } from "discord.js" import { Command } from "interfaces" -const command: Command = { +export = { name: "dev-info", description: "Test command for the bot.", type: "slash", @@ -33,6 +33,4 @@ const command: Command = { await interaction.reply({ content: "Test command.", ephemeral: true }) }, -} - -export = command +} as Command \ No newline at end of file diff --git a/src/commands/timeout.ts b/src/commands/timeout.ts index acd61a0..a398630 100644 --- a/src/commands/timeout.ts +++ b/src/commands/timeout.ts @@ -10,7 +10,7 @@ import { Command } from "interfaces" import ms from "ms" import logToChannel from "utils/functions/logtochannel" -const command: Command = { +export = { name: "timeout", description: "Times out a memeber", type: "slash", @@ -177,6 +177,4 @@ const command: Command = { ], }) }, -} - -export = command +} as Command \ No newline at end of file diff --git a/src/events/server/ready/status.ts b/src/events/server/ready/status.ts index 9232cfa..ee1782a 100644 --- a/src/events/server/ready/status.ts +++ b/src/events/server/ready/status.ts @@ -1,4 +1,4 @@ -import statuses = require("config/statuses.json") +import statuses from "config/statuses.json" import { Event } from "interfaces" import { ExtendedClient as Client } from "utils/Client"