functional queue

This commit is contained in:
2022-01-31 12:46:44 -06:00
parent 588365e558
commit aa0fffdc94
10 changed files with 272 additions and 37 deletions

6
dist/index.js vendored
View File

@@ -52,8 +52,10 @@ CLIENT.on('interactionCreate', (interaction) => __awaiter(void 0, void 0, void 0
yield (0, queue_1.createQueue)(interaction);
else if (interaction.commandName === 'join')
yield (0, queue_1.joinQueue)(interaction);
//else if (interaction.commandName === 'ready')
// await readyQueue(interaction);
else if (interaction.commandName === 'leave')
yield (0, queue_1.leaveQueue)(interaction);
else if (interaction.commandName === 'ready')
yield (0, queue_1.readyQueue)(interaction);
else if (interaction.commandName === 'queueinfo')
yield (0, queue_1.queueInfo)(interaction);
else if (interaction.commandName === 'elo')