better notification when bite award expires
parent
9dd6c3f831
commit
6c239faacb
|
@ -67,7 +67,13 @@ def award_timers(v, bot=False):
|
||||||
badge = v.has_badge(167)
|
badge = v.has_badge(167)
|
||||||
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!")
|
|
||||||
|
notif_text = "Your vampire status has ended."
|
||||||
|
if v.old_house:
|
||||||
|
house = v.old_house.replace(' Founder', '')
|
||||||
|
notif_text += f" You're now back in House {house}!"
|
||||||
|
notify_if_not_bot(notif_text)
|
||||||
|
|
||||||
v.house = v.old_house
|
v.house = v.old_house
|
||||||
v.old_house = ''
|
v.old_house = ''
|
||||||
badge = v.has_badge(168)
|
badge = v.has_badge(168)
|
||||||
|
|
Loading…
Reference in New Issue