From 878cf94c9af4ad601eec4c8f4f83893044fc4844 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Thu, 12 Jul 2018 16:55:02 +0000 Subject: Add the big-brother API. --- pysite/tables.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pysite/tables.py') 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" + ]) ) } -- cgit v1.2.3