wipe extra_username when patron expires

pull/219/head
Aevann 2023-12-03 17:21:45 +02:00
parent c82de916dd
commit e98f9ad084
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ def _award_timers_task():
})
_process_timer(User.patron_utc, [22,23,24,25,26,27,28], f"Your {patron} status has expired!", {
User.patron: 0,
User.extra_username: None,
})
_process_timer(User.chud, [58], "Your temporary chud status has expired!", {
User.chud_phrase: None,