forked from MarseyWorld/MarseyWorld
make award message better
parent
1c51eeeb6c
commit
471147080f
|
@ -194,7 +194,7 @@ def award_thing(v, thing_type, id):
|
||||||
|
|
||||||
msg = f"@{v.username} has given your [{thing_type}]({thing.shortlink}) the {AWARDS[kind]['title']} Award"
|
msg = f"@{v.username} has given your [{thing_type}]({thing.shortlink}) the {AWARDS[kind]['title']} Award"
|
||||||
if awarded_coins > 0:
|
if awarded_coins > 0:
|
||||||
msg += f" and got {awarded_coins} coins"
|
msg += f" and you have received {awarded_coins} coins as a result"
|
||||||
msg += "!"
|
msg += "!"
|
||||||
if note: msg += f"\n\n> {note}"
|
if note: msg += f"\n\n> {note}"
|
||||||
send_repeatable_notification(author.id, msg)
|
send_repeatable_notification(author.id, msg)
|
||||||
|
|
Loading…
Reference in New Issue