rename slashCommandOptions to options, and permission to permissions
This commit is contained in:
1 parent
bc649caa99
commit
4e554b8bee
10 files changed
+21
-27
No files matched your search
+2
-2
@@ -21,7 +21,7 @@ async function asyncForEach(array, callback) {
|
||||
module.exports = new Command({
|
||||
name: cmdconfig.TicketRemove,
|
||||
description: cmdconfig.TicketRemoveDesc,
|
||||
slashCommandOptions: [
|
||||
options: [
|
||||
{
|
||||
name: "user",
|
||||
description: "User to remove",
|
||||
@@ -29,7 +29,7 @@ module.exports = new Command({
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
permission: "SEND_MESSAGES",
|
||||
permissions: ["SEND_MESSAGES"],
|
||||
|
||||
async run(interaction) {
|
||||
const { getRole, getChannel, getCategory } = interaction.client;
|
||||
|
||||
Reference in new issue
Block a user