mirror of
https://github.com/arthur-pbty/selfbot-discord.git
synced 2026-06-12 00:04:42 +02:00
add autovoc
This commit is contained in:
+10
-2
@@ -9,11 +9,19 @@ module.exports = function initDB() {
|
||||
});
|
||||
|
||||
|
||||
db.run(`CREATE TABLE IF NOT EXISTS prefix(
|
||||
prefix TEXT NOT NULL DEFAULT '${process.env.DEFAULT_PREFIX}'
|
||||
db.run(`CREATE TABLE IF NOT EXISTS config(
|
||||
name TEXT NOT NULL UNIQUE,
|
||||
value TEXT NOT NULL
|
||||
)`, (err: Error) => {
|
||||
if (err) {
|
||||
console.error(err.message);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
db.close((err: Error) => {
|
||||
if (err) {
|
||||
console.error(err.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user