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