mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +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!');
|
||||
const pick = chosenHorses[Number.parseInt(msgs.first().content, 10) - 1];
|
||||
const results = [];
|
||||
let results = [];
|
||||
for (const horse of chosenHorses) {
|
||||
results.push({
|
||||
name: horse.name,
|
||||
|
||||
Reference in New Issue
Block a user