start of work commit
This commit is contained in:
parent
cb8151cb40
commit
907d7e3202
5
bot.js
5
bot.js
|
@ -1,7 +1,7 @@
|
|||
const config = require("./config/config.json");
|
||||
const irc = require("irc-upd");
|
||||
const geocode = require("node-geocoder");
|
||||
const sqlite = require("better-sqlite3");
|
||||
const Database = require("better-sqlite3");s
|
||||
|
||||
function main() {
|
||||
const options = {
|
||||
|
@ -15,7 +15,8 @@ function main() {
|
|||
};
|
||||
|
||||
const owner = config.owner;
|
||||
|
||||
let db = new Database(config.dbPath, {});
|
||||
|
||||
let bot = new irc.Client("irc.tilde.chat", "robweatherbot", options);
|
||||
|
||||
bot.addListener("error", (message) => {
|
||||
|
|
Loading…
Reference in New Issue