-- The rules message published from the dashboard (M19) -- -- The bot republishes the rules by deleting the previous message and sending -- the new one, so it has to remember which message it owns. Without this the -- channel would slowly fill with outdated copies. CREATE TABLE IF NOT EXISTS rules_messages ( guild_id TEXT PRIMARY KEY, channel_id TEXT NOT NULL, message_id TEXT NOT NULL, updated_by TEXT, updated_at TEXT NOT NULL DEFAULT (datetime('now')) );