forked from rDrama/rDrama
add the expiry code for spider award lol
parent
8103f9d0aa
commit
0db9bf14b9
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue