aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-08-25 20:04:33 +0100
committerGravatar Joe Banks <[email protected]>2020-08-25 20:04:33 +0100
commitcc74a116f6a85b048cd3bed56ee0c69a5a141772 (patch)
treecf2c3ed1d2e24c0c2182f4a053a4e22599ec760d
parentAdd in_guild column to represent membership (diff)
Correct update call in user sync
-rw-r--r--metricity/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/metricity/bot.py b/metricity/bot.py
index 09eda54..5176e81 100644
--- a/metricity/bot.py
+++ b/metricity/bot.py
@@ -121,7 +121,7 @@ async def on_guild_available(guild: Guild) -> None:
log.info("Beginning user synchronisation process")
- await User.update.values(in_guild=False)
+ await User.update.values(in_guild=False).gino.status()
users = []