@@ -20,8 +20,8 @@ |
||
| 20 | 20 | |
| 21 | 21 | private function prepareResponse($user) { |
| 22 | 22 | return '<strong>Message sent by </strong>' . $user['first_name'] . "\n" . |
| 23 | - '<strong>User ID: </strong>' . $user['id'] . "\n" . |
|
| 24 | - '<strong>Username: </strong>' . $user['username'] . "\n"; |
|
| 23 | + '<strong>User ID: </strong>' . $user['id'] . "\n" . |
|
| 24 | + '<strong>Username: </strong>' . $user['username'] . "\n"; |
|
| 25 | 25 | } |
| 26 | 26 | } |
| 27 | 27 | |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | // Add a welcome message |
| 31 | 31 | $start_command = new PhpBotFramework\Commands\MessageCommand('start', |
| 32 | - function ($bot, $message) { |
|
| 32 | + function($bot, $message) { |
|
| 33 | 33 | $bot->sendMessage('<strong>Hey there!</strong> Send or forward me a text message :)'); |
| 34 | 34 | } |
| 35 | 35 | ); |