forked from MarseyWorld/MarseyWorld
forgot to add rainbow expiry code
parent
199ab85b1c
commit
8e4866e43d
|
@ -73,6 +73,10 @@ def award_timers(v, bot=False):
|
||||||
v.deflector = None
|
v.deflector = None
|
||||||
notify_if_not_bot("Your deflector has expired!")
|
notify_if_not_bot("Your deflector has expired!")
|
||||||
dirty = True
|
dirty = True
|
||||||
|
if v.rainbow and v.rainbow < now:
|
||||||
|
v.rainbow = None
|
||||||
|
notify_if_not_bot("Your rainbow has expired!")
|
||||||
|
dirty = True
|
||||||
if v.bite and v.bite < now:
|
if v.bite and v.bite < now:
|
||||||
v.bite = None
|
v.bite = None
|
||||||
notify_if_not_bot("Your vampire status has ended!")
|
notify_if_not_bot("Your vampire status has ended!")
|
||||||
|
|
Loading…
Reference in New Issue