fix undeflectable awards being vaporized

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-11-01 02:11:44 +02:00
parent 972578e74a
commit e7e667f56f
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ def award_thing(v, thing_type, id):
if v.id != author.id:
safe_username = "👻" if thing.ghost else f"@{author.username}"
if author.deflector and v.deflector:
if author.deflector and v.deflector and AWARDS[kind]['deflectable']:
msg = f"@{v.username} has tried to give your [{thing_type}]({thing.shortlink}) the {AWARDS[kind]['title']} Award but it was deflected on them, they also had a deflector up, so it bounced back and forth until it vaporized!"
send_repeatable_notification(author.id, msg)