mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +02:00
Fix
This commit is contained in:
@@ -69,7 +69,7 @@ module.exports = class HorseRaceCommand extends Command {
|
|||||||
});
|
});
|
||||||
if (!msgs.size) return msg.reply('Sorry, can\'t have a race with no bets!');
|
if (!msgs.size) return msg.reply('Sorry, can\'t have a race with no bets!');
|
||||||
const pick = chosenHorses[Number.parseInt(msgs.first().content, 10) - 1];
|
const pick = chosenHorses[Number.parseInt(msgs.first().content, 10) - 1];
|
||||||
const results = [];
|
let results = [];
|
||||||
for (const horse of chosenHorses) {
|
for (const horse of chosenHorses) {
|
||||||
results.push({
|
results.push({
|
||||||
name: horse.name,
|
name: horse.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user