File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
11
require __DIR__ . '/vendor/autoload.php ' ;
12
12
13
13
$ API_KEY = 'your_bot_api_key ' ;
14
- $ BOT_NAME = 'namebot ' ;
14
+ $ BOT_NAME = 'username_bot ' ;
15
15
//$commands_path = __DIR__ . '/Commands/';
16
16
$ mysql_credentials = [
17
17
'host ' => 'localhost ' ,
Original file line number Diff line number Diff line change 9
9
require __DIR__ . '/vendor/autoload.php ' ;
10
10
11
11
$ API_KEY = 'your_bot_api_key ' ;
12
- $ BOT_NAME = 'namebot ' ;
12
+ $ BOT_NAME = 'username_bot ' ;
13
13
//$commands_path = __DIR__ . '/Commands/';
14
14
//$mysql_credentials = [
15
15
// 'host' => 'localhost',
Original file line number Diff line number Diff line change 3
3
require __DIR__ . '/vendor/autoload.php ' ;
4
4
5
5
$ API_KEY = 'your_bot_api_key ' ;
6
- $ BOT_NAME = 'namebot ' ;
6
+ $ BOT_NAME = 'username_bot ' ;
7
7
$ hook_url = 'https://yourdomain/path/to/hook.php ' ;
8
8
try {
9
9
// Create Telegram API object
Original file line number Diff line number Diff line change 3
3
require __DIR__ . '/vendor/autoload.php ' ;
4
4
5
5
$ API_KEY = 'your_bot_api_key ' ;
6
- $ BOT_NAME = 'namebot ' ;
6
+ $ BOT_NAME = 'username_bot ' ;
7
7
try {
8
8
// Create Telegram API object
9
9
$ telegram = new Longman \TelegramBot \Telegram ($ API_KEY , $ BOT_NAME );
You can’t perform that action at this time.
0 commit comments