diff --git a/rewards/main.py b/rewards/main.py index ba0e87a..87be8f2 100644 --- a/rewards/main.py +++ b/rewards/main.py @@ -35,7 +35,7 @@ async def update_roles(mongo): for role in level_role_names: if role in role_names: users.update_one( - {'auth.discord': int(discord)}, + {'auth.discord': discord}, {'$set': {'level': role}} ) print(f'Updated {discord} to {role}')