-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
47 lines (39 loc) · 1.22 KB
/
config.php
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* These connection settings are for the master bot
* Read the documentation for more information
*/
$inital_server = 'chat.freenode.net';
$master_nick = 'umarmen';
$inital_channel = '##charlie';
/**
* These settings are for the Administrator users of the bot
*/
$admin_nicks = array('chuck');
$admin_hosts = array('yourwiki/staff/charlie');
/**
* Special Modules
* These are modules that, for whatever reason, need to be loaded on every message we receive
* If you don't need these modules, then don't set this variable
*/
//$special_modules = array('badwords');
/**
* These are all your secondary connections which will be created on startup
*/
$extra_connections = array();
//$extra_connections[] = array(
// 'server' => 'irc.freenode.net',
// 'nickname' => 'umarmen',
// 'channel' => '#OctarineParrot');
/**
* Should the bot join channels if people invite it?
*/
$join_on_invite = true;
/**
* "Bad Words" module
*/
// To avoid offending anyone, we leave the job of choosing bad words to filter up to you
$bad_words = array('insert', 'bad', 'words', 'here');
// I know that this is fairly ugly, but it's the best way I found of doing it
$bad_words_channel = '#badwords';
$bad_words_server = 'some.irc.channel.net';