Updated subcommand types
This commit is contained in:
@@ -24,17 +24,17 @@ export default {
|
||||
const subcommand = interaction.options.getSubcommand()
|
||||
|
||||
if (subcommand === "member") {
|
||||
await guildMember(interaction)
|
||||
await guildMember({ interaction })
|
||||
return
|
||||
}
|
||||
|
||||
if (subcommand === "info") {
|
||||
await guildInfo(interaction)
|
||||
await guildInfo({ interaction })
|
||||
return
|
||||
}
|
||||
|
||||
if (subcommand === "top") {
|
||||
await guildTop(interaction)
|
||||
await guildTop({ interaction })
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user