forked from c0de/BaseballBot
Only update the guess for the current game
This commit is contained in:
parent
83b6bda124
commit
946d826dc4
@ -217,8 +217,8 @@ class GameManager:
|
|||||||
)
|
)
|
||||||
|
|
||||||
Guess.update({"guess": value}).where(
|
Guess.update({"guess": value}).where(
|
||||||
# (Guess.game_id == self.game.game_id)
|
(Guess.game.game_id == self.game.game_id)
|
||||||
# &
|
&
|
||||||
(Guess.player_id == self.message.author.id)
|
(Guess.player_id == self.message.author.id)
|
||||||
).execute()
|
).execute()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user