mirror of
https://github.com/arthur-pbty/selfbot-discord.git
synced 2026-06-25 22:23:14 +02:00
auto voc & task
This commit is contained in:
+10
-1
@@ -16,7 +16,7 @@ module.exports = function initDB() {
|
||||
name TEXT NOT NULL DEFAULT 'Task',
|
||||
code TEXT NOT NULL,
|
||||
time NUMBER NOT NULL,
|
||||
dernier_lancement TEXT NOT NULL DEFAULT '0'
|
||||
dernier_lancement NUMBER NOT NULL DEFAULT 0
|
||||
)`, (err: Error) => {
|
||||
if (err) {
|
||||
console.error(err.message);
|
||||
@@ -32,4 +32,13 @@ module.exports = function initDB() {
|
||||
console.error(err.message);
|
||||
}
|
||||
});
|
||||
|
||||
db.run(`CREATE TABLE IF NOT EXISTS autovoc(
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
vocalID TEXT NOT NULL
|
||||
)`, (err: Error) => {
|
||||
if (err) {
|
||||
console.error(err.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user