Updated subcommand types
This commit is contained in:
@@ -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")!
|
||||
|
||||
Reference in New Issue
Block a user