diff options
author | 2018-07-29 09:53:01 +0000 | |
---|---|---|
committer | 2018-07-29 09:53:01 +0000 | |
commit | c3cbadf64c1d568e957274e331241691de356f7f (patch) | |
tree | 3c41f029f67adda015590ed6553b1dbf30c2aabf /pysite/tables.py | |
parent | Fix typo in infractions table definition (diff) | |
parent | Addressing gdude comments (diff) |
Merge branch 'clean_command' into 'master'
Clean command API and frontend
See merge request python-discord/projects/site!26
Diffstat (limited to 'pysite/tables.py')
-rw-r--r-- | pysite/tables.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pysite/tables.py b/pysite/tables.py index 6eeda60e..65a4db16 100644 --- a/pysite/tables.py +++ b/pysite/tables.py @@ -16,6 +16,14 @@ TABLES = { ]) ), + "clean_logs": Table( # Logs of cleanups done by the clean bot commands + primary_key="id", + keys=sorted([ + "id", + "log_data" + ]) + ), + "hiphopify": Table( # Users in hiphop prison primary_key="user_id", keys=sorted([ |