forked from MarseyWorld/MarseyWorld
tweak asset notifs
parent
75e593da00
commit
c381466389
|
@ -147,10 +147,12 @@ if SITE not in ('pcmemes.net', 'watchpeopledie.co'):
|
|||
|
||||
author.coins += 250
|
||||
g.db.add(author)
|
||||
msg = f"@{v.username} (Admin) has approved a marsey you made: :{marsey.name}:\nYou have received 250 coins as a reward!"
|
||||
send_repeatable_notification(author.id, msg)
|
||||
|
||||
if v.id not in (author.id, marsey.submitter_id):
|
||||
if v.id != author.id:
|
||||
msg = f"@{v.username} (Admin) has approved a marsey you made: :{marsey.name}:\nYou have received 250 coins as a reward!"
|
||||
send_repeatable_notification(author.id, msg)
|
||||
|
||||
if v.id != marsey.submitter_id and author.id != marsey.submitter_id:
|
||||
msg = f"@{v.username} (Admin) has approved a marsey you submitted: :{marsey.name}:"
|
||||
send_repeatable_notification(marsey.submitter_id, msg)
|
||||
|
||||
|
@ -304,8 +306,11 @@ if SITE not in ('pcmemes.net', 'watchpeopledie.co'):
|
|||
g.db.add(hat_copy)
|
||||
|
||||
|
||||
if v.id != author.id:
|
||||
msg = f"@{v.username} (Admin) has approved a hat you made: '{hat.name}'"
|
||||
send_repeatable_notification(author.id, msg)
|
||||
|
||||
if v.id != hat.submitter_id:
|
||||
if v.id != hat.submitter_id and author.id != hat.submitter_id:
|
||||
msg = f"@{v.username} (Admin) has approved a hat you submitted: '{hat.name}'"
|
||||
send_repeatable_notification(hat.submitter_id, msg)
|
||||
|
||||
|
|
Loading…
Reference in New Issue