Moved to using an object for execute args
This commit is contained in:
@@ -39,7 +39,7 @@ export = {
|
||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
||||
.setDMPermission(false),
|
||||
|
||||
async execute(interaction) {
|
||||
async execute({ interaction }) {
|
||||
const subcommand = interaction.options.getSubcommand()
|
||||
|
||||
if (subcommand === "ban") {
|
||||
|
||||
Reference in New Issue
Block a user