Updated subcommands to use default export

This commit is contained in:
2024-01-04 21:37:11 +01:00
parent bada95acd7
commit f7e35029f7
8 changed files with 15 additions and 21 deletions

View File

@@ -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
}