Aevann 2023-08-20 05:11:59 +03:00
parent bfffedc5a7
commit b86f6fa1f7
1 changed files with 2 additions and 2 deletions

View File

@ -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