forked from rDrama/rDrama
1
0
Fork 0

fix last commit

master
Aevann1 2022-09-08 19:57:20 +02:00
parent 40b4aff0e8
commit 6e1b454d1c
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ def badge_grant(user, badge_id, description=None, url=None):
send_repeatable_notification(user.id, send_repeatable_notification(user.id,
f"@AutoJanny has given you the following profile badge:\n\n" + f"@AutoJanny has given you the following profile badge:\n\n" +
f"![]({badge.path})\n\n**{badge.name}**\n\n{badge.description}") f"![]({badge.path})\n\n**{badge.name}**\n\n{badge.badge.description}")
def archiveorg(url): def archiveorg(url):

View File

@ -567,7 +567,7 @@ def badge_grant_post(v):
g.db.flush() g.db.flush()
if v.id != user.id: 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}**\n\n{new_badge.description}" 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.badge.description}"
send_notification(user.id, text) send_notification(user.id, text)
ma = ModAction( ma = ModAction(