Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

Config files

melwil edited this page Apr 3, 2013 · 3 revisions

Config files

This article could need an update after being migrated from our old wiki

Here is a description of all the config files OnlineGuru needs to run. This is updated fro rev 45.

settings.conf

Contains the basic information OnlineGuru needs to connect to a server. You can copy this entire block and put more than one network in each settings.conf to connect to more servers. It's located in onlineguru/trunk/settings.conf, and here's an example setup;

[network]
server_alias=freenode
hostname=irc.freenode.org
port=6667
nickname=OnlineGuru
alt_nickname=OnlineGuruAlt
ident=real
realname=real
[email protected]
quitmsg=I am quitting
channels=#online, #onlinetest

lastfm.conf

The only field in this configuration file is for a last.fm API key. This key can be used to access last.fm data on a multitude of platforms. Get your own API key here; ht@tp://www.last.fm/api

apikey=<last_fm_api_key>

chanserv.conf

These two fields can be anything, they are used only to set the admin user and password needed to access some of the plugins while the bot is running.

admin_username=<your_desired_username>
admin_password=<your_desired_password>

nickserv.conf

This follows the same setup as settings.conf, and allows for a different nickserv usename and password for each server. An example setup below.

[network]  
network=freenode
username=onlineguru
password=some12password34