forked from MarseyWorld/MarseyWorld
remove bad shit
parent
a6fc863fff
commit
6df66a19a9
|
@ -25,8 +25,6 @@ def badge_grant(user, badge_id, description=None, url=None, notify=True):
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
|
|
||||||
if notify:
|
if notify:
|
||||||
notif = send_repeatable_notification(user.id,
|
send_repeatable_notification(user.id,
|
||||||
"@AutoJanny has given you the following profile badge:\n\n" +
|
"@AutoJanny has given you the following profile badge:\n\n" +
|
||||||
f"{badge.path}\n\n**{badge.name}**\n\n{badge.badge.description}")
|
f"{badge.path}\n\n**{badge.name}**\n\n{badge.badge.description}")
|
||||||
if notif:
|
|
||||||
notif.created_utc -= 1
|
|
||||||
|
|
Loading…
Reference in New Issue