Fix syntax error in 8b722f2075.

remotes/1693176582716663532/tmp_refs/heads/watchparty
Snakes 2022-09-24 19:39:30 -04:00
parent 8b722f2075
commit aea590dda1
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ def award_thing(v, thing_type, id):
return {"error": "User is already permanently marsified!"}, 403
if v.id != author.id:
safe_username = if thing.ghost then "The post's author" else f"@{author.username}"
safe_username = "👻" if thing.ghost else f"@{author.username}"
if author.deflector and v.deflector:
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!"