More small tweaks

This commit is contained in:
2024-01-15 13:36:38 +01:00
parent a5b709a2c7
commit 55bb67ea64
3 changed files with 5 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ import {
} from "discord.js" } from "discord.js"
import { Command } from "interfaces" import { Command } from "interfaces"
const command: Command = { export = {
name: "dev-info", name: "dev-info",
description: "Test command for the bot.", description: "Test command for the bot.",
type: "slash", type: "slash",
@@ -33,6 +33,4 @@ const command: Command = {
await interaction.reply({ content: "Test command.", ephemeral: true }) await interaction.reply({ content: "Test command.", ephemeral: true })
}, },
} } as Command
export = command

View File

@@ -10,7 +10,7 @@ import { Command } from "interfaces"
import ms from "ms" import ms from "ms"
import logToChannel from "utils/functions/logtochannel" import logToChannel from "utils/functions/logtochannel"
const command: Command = { export = {
name: "timeout", name: "timeout",
description: "Times out a memeber", description: "Times out a memeber",
type: "slash", type: "slash",
@@ -177,6 +177,4 @@ const command: Command = {
], ],
}) })
}, },
} } as Command
export = command

View File

@@ -1,4 +1,4 @@
import statuses = require("config/statuses.json") import statuses from "config/statuses.json"
import { Event } from "interfaces" import { Event } from "interfaces"
import { ExtendedClient as Client } from "utils/Client" import { ExtendedClient as Client } from "utils/Client"