notify me too

pull/83/head
Aevann1 2022-12-19 23:32:52 +02:00
parent c99f4bd2c5
commit 9ceca862d9
1 changed files with 2 additions and 2 deletions

View File

@ -423,14 +423,14 @@ def execute_blackjack(v, target, body, type):
elif type == 'flag':
extra_info = f"reports on {target.permalink}"
elif type in ('comment', 'message', 'modmail'):
for id in (CARP_ID, IDIO_ID):
for id in (CARP_ID, IDIO_ID, AEVANN_ID):
n = Notification(comment_id=target.id, user_id=id)
g.db.add(n)
g.db.flush()
extra_info = None
if extra_info:
for id in (CARP_ID, IDIO_ID):
for id in (CARP_ID, IDIO_ID, AEVANN_ID):
send_repeatable_notification(id, f"Blackjack for @{v.username}: {extra_info}")
return False
return True