aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/seasons/easter/egg_hunt/cog.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/seasons/easter/egg_hunt/cog.py b/bot/seasons/easter/egg_hunt/cog.py
index 5120497b..30d20f30 100644
--- a/bot/seasons/easter/egg_hunt/cog.py
+++ b/bot/seasons/easter/egg_hunt/cog.py
@@ -55,6 +55,8 @@ async def assign_team(user: discord.Member) -> discord.Member:
else:
new_team = Roles.blurple
+ db.close()
+
log.debug(f"Assigned role {new_team} to {user}.")
await user.add_roles(new_team)