add the expiry code for spider award lol

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-09-23 15:15:56 +02:00
parent 8103f9d0aa
commit 0db9bf14b9
1 changed files with 6 additions and 0 deletions

View File

@ -87,6 +87,12 @@ def award_timers(v, bot=False):
v.rainbow = None
notify_if_not_bot("Your rainbow has expired!")
badge = v.has_badge(171)
if badge: g.db.delete(badge)
if v.spider and v.spider < now:
v.spider = None
notify_if_not_bot("Your spider friend has left you!")
badge = v.has_badge(179)
if badge: g.db.delete(badge)
g.db.add(v)