-
Notifications
You must be signed in to change notification settings - Fork 1
/
steamlug-bot_settings.php
73 lines (67 loc) · 3.09 KB
/
steamlug-bot_settings.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
/*** Database. ***/
$GLOBALS['db_host'] = '127.0.0.1';
$GLOBALS['db_user'] = 'root';
$GLOBALS['db_pass'] = '';
$GLOBALS['db_dtbs'] = 'steamlug-bot';
/*** Markup. ***/
$GLOBALS['bold'] = chr(0x02);
$GLOBALS['lightgrey'] = chr(0x03) . '15';
$GLOBALS['italic'] = chr(0x09);
$GLOBALS['reset'] = chr(0x0f);
$GLOBALS['strike'] = chr(0x13);
$GLOBALS['underline'] = chr(0x15);
$GLOBALS['reverse'] = chr(0x16);
/*** Twitter API: http://dev.twitter.com/apps ***/
$GLOBALS['twitter_oauth_token'] = 'SECRET';
$GLOBALS['twitter_oauth_secret'] = 'SECRET';
$GLOBALS['twitter_api_key'] = 'SECRET';
$GLOBALS['twitter_api_secret'] = 'SECRET';
/*** Steam Web API: http://steamcommunity.com/dev ***/
$GLOBALS['steam_api_key'] = 'SECRET';
$GLOBALS['steam_api_base'] = 'http://api.steampowered.com/ISteamUser/';
$GLOBALS['irc_host'] = '130.239.18.172';
$GLOBALS['irc_port'] = 6667;
$GLOBALS['botdesc'] = 'SteamLUG bot';
$GLOBALS['botversion'] = '0.75';
$GLOBALS['botsource'] = 'https://github.com/SteamLUG/steamlug-bot';
$GLOBALS['botsteam'] = 'http://steamcommunity.com/groups/steamlug';
$GLOBALS['idlesince'] = time();
$GLOBALS['twitter_names'] = array ('SteamLUG');
$GLOBALS['steam_groups'] = array ('steamlug');
$GLOBALS['maxlinelength'] = 520;
$GLOBALS['useragent'] = 'Mozilla/5.0 (X11; Ubuntu; Linux i686;' .
' rv:28.0) Gecko/20100101 Firefox/28.0';
$GLOBALS['useragentreal'] = 'steamlug-bot';
$GLOBALS['steamstatus'] = 'SECRET';
$GLOBALS['maxtitle'] = 200;
$GLOBALS['maxnews'] = 200;
$GLOBALS['maxevent'] = 200;
$GLOBALS['ignore'] = array ('SteamDB', 'travis-ci', 'gitmek', 'Wendy');
$GLOBALS['link'] = FALSE;
$GLOBALS['socket'] = FALSE;
$GLOBALS['botnametemp'] = 't87878787';
$GLOBALS['folks'] = array();
$GLOBALS['sidrequest'] = 'Please set your Steam customURL /id/: !s set <Steam customURL /id/> | If you prefer not to share your Steam information, use: !s set none';
$GLOBALS['susage'] = 'To get Steam information: !s <IRC nick> | To set your own Steam customURL /id/: !s set <Steam customURL /id/> | If you prefer not to share your Steam information, use: !s set none';
$GLOBALS['msgusage'] = 'Usage: !msg tell <nick> <text> | !msg list | !msg show <number> | !msg delete <number>';
$GLOBALS['needurlinfo'] = array ('http://youtube.com/', 'https://youtube.com/', 'http://www.youtube.com/', 'https://www.youtube.com/', 'http://steamcommunity.com/', 'https://steamcommunity.com/'); /*** Disabled: 'http://store.steampowered.com/', 'https://store.steampowered.com/' ***/
$GLOBALS['getlog_done'] = 'Done.';
$GLOBALS['unknown_datetime'] = '1000-01-01 00:00:00';
$GLOBALS['mumble-page'] = 'https://steamlug.org/mumble';
$GLOBALS['qa_file'] = 'qa.txt';
$GLOBALS['imgur'] = array ('http://i.imgur.com/', 'https://i.imgur.com/');
$GLOBALS['debug'] = 0; /*** Set to 1 when debugging; #botwar. ***/
if ($GLOBALS['debug'] == 1)
{
$GLOBALS['botname'] = 'defend';
$GLOBALS['password'] = 'SECRET';
$GLOBALS['channel'] = '#botwar';
$GLOBALS['hascloak'] = 0;
} else {
$GLOBALS['botname'] = 'steamlug-bot';
$GLOBALS['password'] = 'SECRET';
$GLOBALS['channel'] = '#steamlug';
$GLOBALS['hascloak'] = 1;
}
?>