Repository navigation
Expand file tree
/
Copy pathconfig.php.example
More file actions
executable file
·65 lines (53 loc) · 1.95 KB
/
Copy pathconfig.php.example
File metadata and controls
executable file
·65 lines (53 loc) · 1.95 KB
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
<?php
define('DB_HOST', 'localhost');
define('DB_NAME', 'your_database_name');
define('DB_USER', 'your_database_user');
define('DB_PASSWORD', 'your_database_password');
define('DEBUG', true);
define('CONFIG_LOGFILE', '/var/log/tg-bots/dev-raid-bot.log');
define('CONFIG_HASH', 'aaaabbbbccccddddeeeeffff1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff1111222233334444555566667777888899990000');
define('CURL_USEPROXY', false);
define('CURL_PROXYSERVER', 'http://your.proxyserver.com:8080');
define('MAINTAINER', '@your_tg_username');
define('MAINTAINER_ID', 'your_tg_integer');
define('BOT_NAME', '@RaidPokemonBot');
define('BOT_ADMINS', '');
define('BOT_ACCESS', '');
// Languages
define('LANGUAGE', 'EN'); // Currently possible: EN, DE, NL, PT-BR
define('RAID_POLL_LANGUAGE', 'EN');
// Timezone and Google maps API
define('TIMEZONE', 'Europe/Berlin');
define('GOOGLE_API_KEY', '');
// Raid creation
define('RAID_VIA_LOCATION', true);
define('RAID_EGG_DURATION', '60');
define('RAID_POKEMON_DURATION_SHORT', '45');
define('RAID_POKEMON_DURATION_LONG', '90');
define('RAID_DURATION_CLOCK_STYLE', true);
// Raid times
define('RAID_LOCATION', false);
define('RAID_SLOTS', '15');
define('RAID_LAST_START', '10');
define('RAID_ANYTIME', false);
// Raid poll design and layout
define('RAID_VOTE_ICONS', true);
define('RAID_VOTE_TEXT', false);
define('RAID_LATE_MSG', true);
define('RAID_LATE_TIME', '3');
// Raid sharing
define('SHARE_MODERATORS', true);
define('SHARE_USERS', true);
define('SHARE_CHATS', '');
// Raid overview
define('RAID_PIN_MESSAGE', '');
//Map settings
define('MAP_URL', '');
// Cleanup
define('CLEANUP', false);
define('CLEANUP_LOGFILE', '/var/log/tg-bots/dev-raid-bot-cleanup.log');
define('CLEANUP_SECRET', 'your-cleanup-secret/passphrase');
define('CLEANUP_TELEGRAM', true);
define('CLEANUP_TIME_TG', '10');
define('CLEANUP_DATABASE', true);
define('CLEANUP_TIME_DB', '10080');