forked from rDrama/rDrama
remove daily limit console alerts since i instinctively ignore them anyways
parent
259eb5f754
commit
59450b2399
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue