Working RSS Feed Manager
- Auto updates feeds - Sends updates to specified channels - Needs threading
This commit is contained in:
6
index.js
6
index.js
@@ -8,6 +8,7 @@ var http = require('http');
|
||||
const fs = require('fs');
|
||||
require('dotenv').config();
|
||||
const libCore = require("./libCore");
|
||||
const { RSSController } = require("./controllers/rssController");
|
||||
const libUtils = require("./libUtils");
|
||||
const deployCommands = require("./utilities/deployCommands");
|
||||
|
||||
@@ -123,8 +124,9 @@ client.on('ready', () => {
|
||||
log.DEBUG(`Starting HTTP Server`);
|
||||
runHTTPServer();
|
||||
|
||||
log.DEBUG("Loading new posts");
|
||||
libCore.updateFeeds(client);
|
||||
log.DEBUG("Loading new posts");
|
||||
const rssManager = new RSSController(client);
|
||||
rssManager.start();
|
||||
});
|
||||
|
||||
// Setup any additional event handlers
|
||||
|
||||
Reference in New Issue
Block a user