From e3cb48f269dd317fd6c3c20672bf96e16548498c Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Wed, 19 Jan 2022 20:04:32 +0500 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Fun/horserace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Fun/horserace.js b/commands/Fun/horserace.js index 7ddca1cc..bac9b564 100644 --- a/commands/Fun/horserace.js +++ b/commands/Fun/horserace.js @@ -107,7 +107,7 @@ class Horserace extends Command { for (let j = 0; j < Object.keys(thisGame.bets).length; j++) { if (Object.values(thisGame.bets)[j].horse !== i + 1) { const memberData = await this.client.findOrCreateMember({ - id: Object.values(thisGame.bets)[j], + id: Object.keys(thisGame.bets)[j], guildID: message.guild.id });