start of work commit

This commit is contained in:
Robert Drake 2020-11-03 01:17:00 -06:00
parent 8b0c2094d4
commit 95797b39ca
2 changed files with 5 additions and 2 deletions

2
bot.js
View File

@ -1,3 +1,4 @@
const config = require("./config/config.json");
const irc = require("irc-upd");
const options = {
@ -35,6 +36,7 @@ bot.addListener("pm", function(from, message) {
});
bot.addListener("message", (nick, to, text, message) => {
console.log(to);
if(!text.startsWith("*")) {
console.log("Not for me!");
return;

View File

@ -2,6 +2,7 @@
"owner": "IRC Username of the bot's owner",
"apiKey": "OpenCage API Key https://opencagedata.com",
"channels": ["array", "of", "channels", "to", "join"],
"botName": "bot's IRC nick"
//TODO: finish this
"botName": "bot's IRC nick",
"realName": "bot's IRC real name",
"password": "Nickserv / SASL password"
}