forked from d4NY0H/raid-pokemon-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php.example
More file actions
executable file
·39 lines (31 loc) · 1.74 KB
/
config.php.example
File metadata and controls
executable file
·39 lines (31 loc) · 1.74 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
<?php
define('GOOGLE_API_KEY', ''); // optional
define('TIMEZONE', 'Europe/Berlin');
define('CURL_USEPROXY', false);
define('CURL_PROXYSERVER', 'http://your.proxyserver.com:8080');
define('DEBUG', true);
define('CONFIG_LOGFILE', '/var/log/tg-bots/dev-raid-bot.log');
define('CONFIG_HASH', ' = hash(sha_512,tg_bot_key) ');
define('DB_NAME', 'your_database_name');
define('DB_USER', 'your_database_user');
define('DB_PASSWORD', 'your_database_password');
define('MAINTAINER', '@your_tg_username');
define('MAINTAINER_ID', 'your_tg_integer');
define('BOT_NAME', '@RaidPokemonBot');
define('BOT_ADMINS', ''); // optional
define('BOT_ACCESS', ''); // optional
define('RAID_LOCATION', false); // send location as message in addition to raid poll message
define('RAID_SLOTS', '15'); // minutes
define('RAID_LAST_START', '10'); // minutes before RAID ends
define ('RAID_EGG_DURATION', '60'); //minutes till egg comes out
define ('RAID_POKEMON_DURATION_LONG', '90'); //minutes till pokemon leave
define ('RAID_POKEMON_DURATION_SHORT', '45'); //minutes till pokemon leave
define ('RAID_DURATION_CLOCK_STYLE', true); // True: Clocktime style, e.g. "18:34" --- False: Minute style, e.g. "still 0:34"
define('CLEANUP', false); // must be true for cleanup
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'); // minutes after RAID ended
define('CLEANUP_DATABASE', true);
define('CLEANUP_TIME_DB', '10080'); // minutes after RAID ended
define('LANGUAGE', 'EN'); // language for the text EN, DE or NL