mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
фикс
This commit is contained in:
parent
951fa2b7ce
commit
e3cb48f269
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue