From afca7bb451d70cc0f1495b4658bfb0e01aac7afb Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Mon, 8 Feb 2021 18:32:59 +0100 Subject: [PATCH] Create db for pin --- databases.md | 7 +++++++ functions/database/pin.py | 0 2 files changed, 7 insertions(+) create mode 100644 functions/database/pin.py diff --git a/databases.md b/databases.md index 1e42101..14fcc1e 100644 --- a/databases.md +++ b/databases.md @@ -123,6 +123,13 @@ Used in stats.py - Stats commands. Tracks the user's personal stats to award ach 12 xp: bigint, default 0 | The amount of message xp the user has gained 13 last_message: bigint, default 0 | The timestamp of the user's last message that awarded xp +### pin + +Used in school.py - Pin command. Keeps track of which messages have been requested for a pin. + + 0 messageid: bigint, unique, primary key | The id of the message being tracked + 1 reactions: integer, default 0 | The amount of votes for this message + ### poke Used in poke.py - Poke commands. Keeps track of the currently poked person. diff --git a/functions/database/pin.py b/functions/database/pin.py new file mode 100644 index 0000000..e69de29