forked from rDrama/rDrama
1
0
Fork 0

remove daily limit console alerts since i instinctively ignore them anyways

master
Aevann 2023-11-11 14:56:32 +02:00
parent 259eb5f754
commit 59450b2399
1 changed files with 0 additions and 3 deletions

View File

@ -30,9 +30,6 @@ def media_ratelimit(v):
t = time.time() - 86400
count = g.db.query(Media).filter(Media.user_id == v.id, Media.created_utc > t).count()
if count > 100 and v.admin_level < PERMS['USE_ADMIGGER_THREADS']:
print(STARS, flush=True)
print(f'@{v.username} hit the 100 file daily limit!')
print(STARS, flush=True)
abort(500)
def process_files(files, v, body, is_dm=False, dm_user=None):