Commit f6aa9cc7 authored by Rafael Delboni's avatar Rafael Delboni

Change "GeoBot" to actual botname set in Init.

parent adcc2041
......@@ -35,7 +35,7 @@ class HelpCommand extends Command
$commands = $this->telegram->getCommandsList();
if (empty($text)) {
$msg = 'GeoBot v. ' . $this->telegram->getVersion() . "\n\n";
$msg = $this->telegram->getBotName() . ' v. ' . $this->telegram->getVersion() . "\n\n";
$msg .= 'Commands List:' . "\n";
foreach ($commands as $command) {
if (is_object($command)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment