13 lines
317 B
JavaScript
13 lines
317 B
JavaScript
const bluebird = require("bluebird");
|
|
const sqlite = require("better-sqlite3");
|
|
|
|
function main() { // Not a part of bot.js
|
|
let db = new sqlite("./db/users.db",{});
|
|
|
|
let statement = db.prepare("CREATE TABLE user_location(hostmask text, location text, coordinates text)");
|
|
statement.run();
|
|
|
|
db.close();
|
|
}
|
|
|
|
main(); |