From d3e00734059fcc5b347fb5148f2ab28756b788ab Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Sun, 29 Jul 2018 01:19:44 +0200 Subject: Support for embeds and attachments. --- pysite/views/api/bot/clean.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pysite') diff --git a/pysite/views/api/bot/clean.py b/pysite/views/api/bot/clean.py index f914c03c..2ee3f62d 100644 --- a/pysite/views/api/bot/clean.py +++ b/pysite/views/api/bot/clean.py @@ -10,9 +10,12 @@ POST_SCHEMA = Schema({ 'log_data': [ { "author": str, + "user_id": str, "content": str, + "role": str, "timestamp": str, - "role": str + "embeds": object, + "attachments": [str], } ] }) -- cgit v1.2.3