Ajout fonctionnalité des commandes Discord

This commit is contained in:
skylanix
2025-08-18 02:08:01 +02:00
committed by skylanix
parent c84438af83
commit 47c9d679df
14 changed files with 155 additions and 23 deletions

View File

@@ -22,3 +22,12 @@ CREATE TABLE IF NOT EXISTS `message` (
`text` VARCHAR(256) NULL,
periodicity INTEGER NULL
);
CREATE TABLE IF NOT EXISTS `commande` (
id INTEGER PRIMARY KEY AUTOINCREMENT,
`discord_enable` BOOLEAN NOT NULL DEFAULT TRUE,
`twitch_enable` BOOLEAN NOT NULL DEFAULT TRUE,
`trigger` VARCHAR(16) UNIQUE NOT NULL,
`response` VARCHAR(2000) NOT NULL
);