added cancel command

This commit is contained in:
2022-01-31 17:39:06 -06:00
parent 50c297bfea
commit f0283145dc
6 changed files with 115 additions and 22 deletions

2
dist/index.js vendored
View File

@@ -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')