aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/tables.py
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-07-12 16:55:02 +0000
committerGravatar Johannes Christ <[email protected]>2018-07-12 16:55:02 +0000
commit878cf94c9af4ad601eec4c8f4f83893044fc4844 (patch)
treeae37ef921660cd906cb409e9a3283bb6f0ef1fc2 /pysite/tables.py
parentCheck that the page is not NoneType before checking that the page has no cont... (diff)
Add the big-brother API.
Diffstat (limited to 'pysite/tables.py')
-rw-r--r--pysite/tables.py8
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"
+ ])
)
}