-
Notifications
You must be signed in to change notification settings - Fork 47
/
config.php
49 lines (48 loc) · 1.56 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
48
49
<?php
return array(
'server' => 'irc.freenode.org',
'port' => 6667,
'name' => 'phpbot',
'password' => '',
'nick' => 'phpbot',
'channels' => array(
'#wildphp',
),
'timezone' => 'America/New_York',
'max_reconnects' => 1,
'prefix' => '!',
'log' => array(
'file' => 'log', // No file extension!
'dir' => ROOT_DIR . '/logs',
// Set this if you want only output from specific channel(s) to show up.
// This will not log any other output, so this is not useful for debugging.
// This is particularly useful if you use public logs.
// Can contain multiple channels.
'filter' => array('#wildphp'),
),
'commands' => array(
'Command\Say' => array(),
'Command\Weather' => array(
'yahooKey' => 'a',
),
'Command\Joke' => array(),
'Command\Ip' => array(),
'Command\Imdb' => array(),
'Command\Poke' => array(),
'Command\Topic' => array(),
'Command\Join' => array(),
'Command\Part' => array(),
'Command\Timeout' => array(),
'Command\Quit' => array(),
'Command\Restart' => array(),
'Command\Help' => array(),
'Command\Update' => array(),
),
'listeners' => array(
'Listener\Joins' => array(),
'Listener\Youtube' => array(),
),
'hosts' => array(
'Add trusted hosts in here. Example: example@example.com if no ident server ~example@example.com',
),
);