Updated subcommands to use default export
This commit is contained in:
@@ -9,7 +9,7 @@ import { color, devMessage } from "../../../config/options.json"
|
||||
import { ChatInputCommandInteraction } from "discord.js"
|
||||
import { GuildData } from "../../interfaces/Guild"
|
||||
|
||||
async function guildInfo(
|
||||
export default async function guildInfo(
|
||||
interaction: ChatInputCommandInteraction,
|
||||
): Promise<void> {
|
||||
await interaction.deferReply()
|
||||
@@ -241,6 +241,4 @@ async function guildInfo(
|
||||
},
|
||||
],
|
||||
})
|
||||
}
|
||||
|
||||
export = guildInfo
|
||||
}
|
||||
Reference in New Issue
Block a user