-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.js.example
31 lines (28 loc) · 1.05 KB
/
settings.js.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
var settings = {}
//
// Edit this before running the bot. All keys are mandatory
// and must be present for the bot to work.
// * server: hostname of the IRC server to connect to
// * channels: array of channels the bot should connect to.
// * bot_name: nickname of the bot
// * password: SASL password (for NickServ authentication)
// * superuser: here, you can define the username (i.e. the
// IRC username, not nickname) and password
// of the superuser, who can @login as admin
// without creating an admin user. It is
// recommended that you only use the superuser
// to create one or more admin users and then
// deactivate the superuser by emptying the
// username and password fields.
//
settings.modes = {
'example': {
'server': 'irc.freenode.net',
'channels': ['#linux'],
'bot_name': 'nisse',
'password': '',
'superuser': { 'username': '', 'password': '' }
}
};
settings.database_file = "db.sqlite";
module.exports = settings;