added cancel command
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -51,6 +51,8 @@ CLIENT.on('interactionCreate', async (interaction) => {
|
||||
await (0, queue_1.leaveQueue)(interaction);
|
||||
else if (interaction.commandName === 'ready')
|
||||
await (0, queue_1.readyQueue)(interaction);
|
||||
else if (interaction.commandName === 'cancel')
|
||||
await (0, queue_1.cancelQueue)(interaction);
|
||||
else if (interaction.commandName === 'queueinfo')
|
||||
await (0, queue_1.queueInfo)(interaction);
|
||||
else if (interaction.commandName === 'elo')
|
||||
|
||||
Reference in New Issue
Block a user