Skip to content

Commit 350f9d6

Browse files
committed
Add more items to the config
1 parent 2603085 commit 350f9d6

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

src/config/config.php

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,40 @@
55
* Bot configuration
66
*/
77
'bot' => [
8-
'name' => env('PHP_TELEGRAM_BOT_NAME', ''),
9-
'api_key' => env('PHP_TELEGRAM_BOT_API_KEY', ''),
8+
'name' => env('PHP_TELEGRAM_BOT_NAME', 'Test Name'),
9+
'api_key' => env('PHP_TELEGRAM_BOT_API_KEY', '489567508:AAEJgd80WMYbl7NisJYpkWCJLt2o_0RkpXs'),
1010
],
1111

12+
/**
13+
* Database integration
14+
*/
1215
'database' => [
1316
'enabled' => false,
14-
'connection' => 'default',
17+
'connection' => env('DB_CONNECTION', 'mysql'),
18+
],
19+
20+
'commands' => [
21+
'before' => true,
22+
'paths' => [
23+
// Custom command paths
24+
],
25+
'configs' => [
26+
// Custom commands configs
27+
],
28+
],
29+
30+
'admins' => [
31+
// Admin ids
32+
],
33+
34+
/**
35+
* Request limiter
36+
*/
37+
'limiter' => [
38+
'enabled' => false,
39+
'interval' => 1,
1540
],
1641

42+
'upload_path' => '',
43+
'download_path' => '',
1744
];

0 commit comments

Comments
 (0)