More small tweaks
This commit is contained in:
@@ -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
|
|
||||||
@@ -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
|
|
||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user