From 78b4c83b58a858e2d23d44e27b82db5776f29a9d Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 10 Oct 2023 20:39:24 +0300 Subject: [PATCH] show the emoji in the note when giving emoji award --- files/routes/awards.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 57ba7bac4..85ab0b0da 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -609,7 +609,9 @@ def award_thing(v, thing_type, id): msg += f" and you have received {awarded_coins} coins as a result" msg += "!" - if note: + if kind == 'emoji': + msg += f"\n\n> :{award.note}:" + elif note: note = '\n\n> '.join(note.splitlines()) if kind == "chud": msg += f"\n\n**You now have to say this phrase in all posts and comments you make for 24 hours:**"