diff options
| author | 2020-09-12 02:52:28 +0100 | |
|---|---|---|
| committer | 2020-09-12 02:52:28 +0100 | |
| commit | 0b5e5db933a074d64ad477d68b3ec96e54626e61 (patch) | |
| tree | b1c96d587d3bc800d3417bb08a01796c35627b55 | |
| parent | Linting (diff) | |
Add extra logic for handing newer users
| -rw-r--r-- | metricity/bot.py | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/metricity/bot.py b/metricity/bot.py index 0163d45..962d781 100644 --- a/metricity/bot.py +++ b/metricity/bot.py @@ -264,7 +264,8 @@ async def on_member_update(before: Member, member: Member) -> None:                  created_at=member.created_at,                  is_staff=BotConfig.staff_role_id in roles,                  is_verified=BotConfig.role_gate_id in roles, -                public_flags=dict(member.public_flags) +                public_flags=dict(member.public_flags), +                verified_at=verified_at              )          except UniqueViolationError:              pass  |