From e3cd6c73f5cbe5164cedc4a3d59c5863f92adab8 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sat, 12 Nov 2022 04:24:08 -0600 Subject: [PATCH] use the name styling the @Aevann1 likes --- files/routes/awards.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 101161c0c..a1bb5ae8a 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -165,10 +165,10 @@ def award_thing(v, thing_type, id): abort(403, "You can't use this award on yourself.") if kind == 'marsify' and author.marsify == 1: - abort(409, "User is already permanently marsified!") + abort(409, f"@{author.username} is already permanently marsified!") if kind == 'spider' and author.spider == 1: - abort(409, "User already permanently has a spider friend!") + abort(409, f"@{author.username} already permanently has a spider friend!") if thing.ghost and not AWARDS[kind]['ghost']: abort(403, "This kind of award can't be used on ghost posts.")