renamed/moved commands
This commit is contained in:
11
dist/discord.js
vendored
11
dist/discord.js
vendored
@@ -7,16 +7,21 @@ const v9_1 = require("discord-api-types/v9");
|
||||
const commands = [
|
||||
{
|
||||
name: 'queue',
|
||||
description: 'get queue info or initialize a queue for this channel',
|
||||
description: 'initialize a queue for this channel',
|
||||
options: [
|
||||
{
|
||||
type: 4,
|
||||
name: 'teamsize',
|
||||
description: 'size of each team',
|
||||
min_value: 1
|
||||
min_value: 1,
|
||||
required: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'close',
|
||||
description: 'close the queue for this channel'
|
||||
},
|
||||
{
|
||||
name: 'join',
|
||||
description: 'join the active queue'
|
||||
@@ -41,7 +46,7 @@ const commands = [
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
], commandNames = commands.map(c => c.name);
|
||||
/**
|
||||
* register/reload commands on guild(s)
|
||||
* @param token discord bot token
|
||||
|
||||
Reference in New Issue
Block a user