Keep track of guild states.

We don't currently bridge anything, but this just keeps everything in sync
with the discord server.
This commit is contained in:
Gary Kramlich
2022-03-29 07:10:16 -05:00
parent d4355779a6
commit 928a49b42d
7 changed files with 295 additions and 8 deletions

View File

@@ -0,0 +1,7 @@
CREATE TABLE guild (
discord_id TEXT NOT NULL,
guild_id TEXT NOT NULL,
guild_name TEXT NOT NULL,
bridge INTEGER(1) DEFAULT FALSE,
PRIMARY KEY(discord_id, guild_id)
);