Updated subcommand types

This commit is contained in:
2025-03-23 16:44:42 +01:00
parent e67307a6bd
commit d8ebeff481
11 changed files with 28 additions and 19 deletions

View File

@@ -30,7 +30,7 @@ export const topSub = new SlashCommandSubcommandBuilder()
.setDescription("The amount of guild members to show. [Default: 10]")
)
const cmd: SubCommand = async (interaction) => {
const cmd: SubCommand = async ({ interaction }) => {
await interaction.deferReply()
const query = interaction.options.getString("query")!