diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 916159927..6a5993d8b 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -25,7 +25,7 @@ def badge_grant(user, badge_id, description=None, url=None): send_repeatable_notification(user.id, f"@AutoJanny has given you the following profile badge:\n\n" + - f"![]({badge.path})\n\n{badge.name}") + f"![]({badge.path})\n\n**{badge.name}**\n{badge.description}") def archiveorg(url): diff --git a/files/routes/admin.py b/files/routes/admin.py index 4d4af6c72..2a7693acd 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -567,7 +567,7 @@ def badge_grant_post(v): g.db.flush() if v.id != user.id: - text = f"@{v.username} has given you the following profile badge:\n\n![]({new_badge.path})\n\n{new_badge.name}" + text = f"@{v.username} has given you the following profile badge:\n\n![]({new_badge.path})\n\n**{new_badge.name}**\n\n{new_badge.description}" send_notification(user.id, text) ma = ModAction(