This commit is contained in:
JonnyBro 2022-01-19 20:04:32 +05:00
parent 951fa2b7ce
commit e3cb48f269

View file

@ -107,7 +107,7 @@ class Horserace extends Command {
for (let j = 0; j < Object.keys(thisGame.bets).length; j++) { for (let j = 0; j < Object.keys(thisGame.bets).length; j++) {
if (Object.values(thisGame.bets)[j].horse !== i + 1) { if (Object.values(thisGame.bets)[j].horse !== i + 1) {
const memberData = await this.client.findOrCreateMember({ const memberData = await this.client.findOrCreateMember({
id: Object.values(thisGame.bets)[j], id: Object.keys(thisGame.bets)[j],
guildID: message.guild.id guildID: message.guild.id
}); });