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

@@ -5,7 +5,7 @@ import { GuildData } from "../../interfaces/Guild"
import Illegitimate from "../../utils/Illegitimate"
const redis = Illegitimate.redis
async function guildTop(
export default async function guildTop(
interaction: ChatInputCommandInteraction,
): Promise<void> {
await interaction.deferReply()
@@ -291,6 +291,4 @@ async function guildTop(
},
],
})
}
export = guildTop
}