diff options
author | 2018-07-28 20:17:54 +0200 | |
---|---|---|
committer | 2018-07-28 20:17:54 +0200 | |
commit | b4d024dc69e9084184f628daeb48d6601a3996e2 (patch) | |
tree | 06e5ca6f40dc57b0b90a12b2a20592e1b748ccf9 /pysite/tables.py | |
parent | Now doing role colorization instead of random colors for the cleanlog template. (diff) | |
parent | Fix typo in infractions table definition (diff) |
Merge branch 'master' into clean_command
Diffstat (limited to 'pysite/tables.py')
-rw-r--r-- | pysite/tables.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pysite/tables.py b/pysite/tables.py index adc8c409..65a4db16 100644 --- a/pysite/tables.py +++ b/pysite/tables.py @@ -267,6 +267,21 @@ TABLES = { ]) ), + "bot_infractions": Table( + primary_key="id", + keys=sorted([ + "id", # str + "user_id", # str + "actor_id", # str + "reason", # str + "type", # str + "inserted_at", # datetime + "expires_at", # datetime + "closed", # bool + "legacy_rowboat_id" # str + ]) + ), + "watched_users": Table( # Users being monitored by the bot's BigBrother cog primary_key="user_id", keys=sorted([ |