This commit is contained in:
Aevann1 2021-10-26 23:10:31 +02:00
parent 8e3e7e1d3d
commit be13e954bd
6 changed files with 6 additions and 6 deletions

View file

@ -664,7 +664,7 @@ def submit_post(v):
author_id=v.id,
over_18=bool(request.values.get("over_18","")),
app_id=v.client.application.id if v.client else None,
is_bot = request.headers.get("X-User-Type","").lower()=="bot",
is_bot = request.headers.get("Authorization"),
url=url,
body=body,
body_html=body_html,