requiring IRC, and setting up config.
This commit is contained in:
parent
2964a1e4c1
commit
31589297b9
3
index.js
3
index.js
|
@ -4,6 +4,7 @@ const express = require('express')
|
||||||
const app = express();
|
const app = express();
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const ini = require('ini');
|
const ini = require('ini');
|
||||||
|
const irc = require('irc');
|
||||||
const mastodon = require('mastodon');
|
const mastodon = require('mastodon');
|
||||||
const mqtt = require('mqtt');
|
const mqtt = require('mqtt');
|
||||||
const request = require('request');
|
const request = require('request');
|
||||||
|
@ -33,6 +34,8 @@ const gotify_message = config.gotify_message;
|
||||||
const gotify_priority = config.gotify_priority;
|
const gotify_priority = config.gotify_priority;
|
||||||
const gotify_title = config.gotify_title;
|
const gotify_title = config.gotify_title;
|
||||||
const gotify_url = config.gotify_url;
|
const gotify_url = config.gotify_url;
|
||||||
|
const irc_nick = config.irc_nick;
|
||||||
|
const irc_server = config.irc_server;
|
||||||
const mastodon_token = config.mastodon_token;
|
const mastodon_token = config.mastodon_token;
|
||||||
const mastodon_toot = config.mastodon_toot;
|
const mastodon_toot = config.mastodon_toot;
|
||||||
const mastodon_url = config.mastodon_url;
|
const mastodon_url = config.mastodon_url;
|
||||||
|
|
Reference in New Issue