diff options
author | 2018-07-12 16:55:02 +0000 | |
---|---|---|
committer | 2018-07-12 16:55:02 +0000 | |
commit | 156401a26fe88ff9bdcbbbdca94f217fb9d337e3 (patch) | |
tree | ae37ef921660cd906cb409e9a3283bb6f0ef1fc2 /pysite/tables.py | |
parent | Check that the page is not NoneType before checking that the page has no cont... (diff) | |
parent | Add the big-brother API. (diff) |
Merge branch 'feature/add-big-brother-api' into 'master'
Add the big-brother API.
See merge request python-discord/projects/site!20
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 617a20f0..8f849664 100644 --- a/pysite/tables.py +++ b/pysite/tables.py @@ -257,5 +257,13 @@ TABLES = { "key", # str "value" # any ]) + ), + + "watched_users": Table( # Users being monitored by the bot's BigBrother cog + primary_key="user_id", + keys=sorted([ + "user_id", + "channel_id" + ]) ) } |