forked from MarseyWorld/MarseyWorld
fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4833902#context
parent
bfffedc5a7
commit
b86f6fa1f7
|
@ -208,8 +208,8 @@ def NOTIFY_USERS(text, v, oldtext=None, ghost=False, log_cost=None, followers_pi
|
||||||
if SITE == 'rdrama.net' and v.id in {256, 9287, 10489, 18701}:
|
if SITE == 'rdrama.net' and v.id in {256, 9287, 10489, 18701}:
|
||||||
notify_users.discard(AEVANN_ID)
|
notify_users.discard(AEVANN_ID)
|
||||||
|
|
||||||
if len(notify_users) > 200:
|
if len(notify_users) > 400:
|
||||||
abort(403, "You can only notify a maximum of 200 users.")
|
abort(403, "You can only notify a maximum of 400 users.")
|
||||||
|
|
||||||
return notify_users - BOT_IDs - {v.id, 0} - v.all_twoway_blocks
|
return notify_users - BOT_IDs - {v.id, 0} - v.all_twoway_blocks
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue