fix award deflection notifications

master
Aevann 2023-10-10 20:27:01 +03:00
parent 6d8600d3a5
commit c3f01801e2
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ def award_thing(v, thing_type, id):
elif kind == "jumpscare":
author.jumpscare += 1
author = thing.author
if v.id != author.id:
if author.deflector and AWARDS[kind]['deflectable']:
msg = f"@{v.username} has tried to give your [{thing_type}]({thing.shortlink}) the {award_title} Award but it was deflected and applied to them :marseytroll:"