forked from miguel456/luke-bot
Added proper logging and error handling
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace nogueiracodes\RaspberryBot\Bot\Commands;
|
||||
|
||||
use Analog\Analog;
|
||||
use Exception;
|
||||
use nogueiracodes\RaspberryBot\Core\Interfaces\Command;
|
||||
use nogueiracodes\RaspberryBot\Traits\HasSignature;
|
||||
@@ -14,6 +15,10 @@ class Help implements Command
|
||||
|
||||
public $signature = "help {section: The section to retrieve help for}";
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
Analog::info('Commands: Loaded Help!');
|
||||
}
|
||||
|
||||
public function run(array $parameters)
|
||||
{
|
||||
|
Reference in New Issue
Block a user