forgot to add rainbow expiry code

master
Aevann1 2022-09-06 06:51:53 +02:00
parent 199ab85b1c
commit 8e4866e43d
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ def award_timers(v, bot=False):
v.deflector = None
notify_if_not_bot("Your deflector has expired!")
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:
v.bite = None
notify_if_not_bot("Your vampire status has ended!")