add counting system

This commit is contained in:
Arthur Puechberty
2026-01-18 00:01:14 +01:00
parent 23d6326ca7
commit 1df3dd24de
9 changed files with 624 additions and 0 deletions
+8
View File
@@ -176,6 +176,14 @@ db.exec(`
owner_id TEXT NOT NULL,
created_at INTEGER NOT NULL
);
CREATE TABLE IF NOT EXISTS counting_config (
guild_id TEXT PRIMARY KEY,
enabled INTEGER NOT NULL DEFAULT 0,
channel_id TEXT,
current_count INTEGER NOT NULL DEFAULT 0,
last_user_id TEXT
);
`);
module.exports = db;