-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.php
executable file
·94 lines (80 loc) · 2.79 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
return [
//=============================================================================================
//Telegram
//=============================================================================================
//Telegram Bot API Key
'api_key' => '',
//Telegram Bot Username
'username' => '',
//Enable the webhook
'enable_webhook' => false,
//URL for the hook.php
'hook_url' => '',
//=============================================================================================
//MySQL
//=============================================================================================
'mysql' => [
'host' => 'localhost',
'user' => '',
'password' => '',
'database' => 'galgbot',
],
//Table prefix (default null)
'mysql_table_prefix' => null,
//=============================================================================================
//Folders
//=============================================================================================
//Path of the Commands folder
'commands_path' => __DIR__ . '/Commands',
//=============================================================================================
//Logging
//=============================================================================================
//Enable error logging
'log_errors' => true,
//Enable debug logging
'log_debug' => true,
//Location of the log files
'log_location' => __DIR__ . '/logs',
//=============================================================================================
//Game
//=============================================================================================
//The number of lives for each game, based on the number of unique letters in a word
'lives' => [
1 => 12,
2 => 12,
3 => 12,
4 => 10,
5 => 10,
6 => 9,
7 => 9,
8 => 8,
9 => 7,
10 => 7,
11 => 6,
12 => 6,
13 => 5,
14 => 5,
15 => 4,
16 => 4,
17 => 4,
18 => 3,
19 => 3,
20 => 3,
21 => 2,
22 => 2,
23 => 2,
24 => 2,
25 => 2,
26 => 1,
],
//If the bot should only use words for which a definition is available.
//The bot will try to select a word with a definition 40 times, and will then return a word.
'only_defined_words' => false,
//The location where dictionaries are (language.txt)
'dictionaries_path' => __DIR__ . '/Dictionaries',
//The location where language files are (language.php)
'languages_path' => __DIR__ . '/Languages',
//The language to use
'language' => 'dutch',
];