Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

Configuration

Geronimo Poppino edited this page Mar 9, 2017 · 1 revision

How to configure the bot

In order to configure the bot, you will have to edit the file newsbot.properties.

The following section describes its options briefly.

Configuration file options

Enable/disable SSL connection to the IRC Server

bot.ssl = false

True or false - Do you want the bot to be auto reconnected when connection is lost?

bot.autoreconnect = true

How many times NewsBot will try to connect

bot.reconnectattempts = 999

How much time between RSS poll between each retry in milliseconds

bot.reconnectdelay = 5000

Realname

bot.realname = BOT_NAME

Username

bot.login = BOT_USERNAME

Nickname

bot.nick = NewsBot

Do not modify this line - Last NewsBot version

bot.version = NewsBot v0.1.2 by Gerardo Canosa and Geronimo Poppino (2016-2017)

IRC server hostname / IP address

bot.ircserver = IRC_HOST

IRC server port where we should connect

bot.port = PORT_NUMBER

Do not add the COMMENT # character prefix, just the channel name. The java application will auto add it

bot.channel = CHANNEL_NAME_TO_JOIN

How often fetch RSS feeds? 180 seconds as minimum

rss.pollfrequency = 180

List of RSS feeds you want to fetch

rss.feed = RSS_URL_FEED_1
rss.feed = RSS_URL_FEED_2
rss.feed = RSS_URL_AS_MUCH_AS_WANTED