Skip to content

Commit 11cbd79

Browse files
committed
Merge pull request #145 from CrazyRedScorp/replace_variable_botname
Replace value of variable $BOT_NAME
2 parents 5497c5a + 1a046ab commit 11cbd79

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/getUpdatesCLI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
require __DIR__ . '/vendor/autoload.php';
1212

1313
$API_KEY = 'your_bot_api_key';
14-
$BOT_NAME = 'namebot';
14+
$BOT_NAME = 'username_bot';
1515
//$commands_path = __DIR__ . '/Commands/';
1616
$mysql_credentials = [
1717
'host' => 'localhost',

examples/hook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
require __DIR__ . '/vendor/autoload.php';
1010

1111
$API_KEY = 'your_bot_api_key';
12-
$BOT_NAME = 'namebot';
12+
$BOT_NAME = 'username_bot';
1313
//$commands_path = __DIR__ . '/Commands/';
1414
//$mysql_credentials = [
1515
// 'host' => 'localhost',

examples/set.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require __DIR__ . '/vendor/autoload.php';
44

55
$API_KEY = 'your_bot_api_key';
6-
$BOT_NAME = 'namebot';
6+
$BOT_NAME = 'username_bot';
77
$hook_url = 'https://yourdomain/path/to/hook.php';
88
try {
99
// Create Telegram API object

examples/unset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require __DIR__ . '/vendor/autoload.php';
44

55
$API_KEY = 'your_bot_api_key';
6-
$BOT_NAME = 'namebot';
6+
$BOT_NAME = 'username_bot';
77
try {
88
// Create Telegram API object
99
$telegram = new Longman\TelegramBot\Telegram($API_KEY, $BOT_NAME);

0 commit comments

Comments
 (0)