give floattrip the comment dump so he can train his AI

master
Aevann 2023-04-25 14:47:27 +02:00
parent 739382fcf9
commit 3958dd069a
1 changed files with 10 additions and 0 deletions

View File

@ -400,3 +400,13 @@ def transfers(v:User):
def donate(v):
if v.shadowbanned or v.agendaposter == 1: abort(404)
return render_template(f'donate.html', v=v)
@app.get('/floattrip.csv')
@limiter.limit(DEFAULT_RATELIMIT)
@is_not_permabanned
def floattrip(v):
if SITE != 'rdrama.net' or v.id not in (1, 4480):
abort(403)
resp = make_response(send_file('/floattrip.csv'))
return resp