src/Stubs/Command.stub
<?php
namespace App\Telegram\{{ namespace }};
use SergiX44\Nutgram\Nutgram;
use SergiX44\Nutgram\Handlers\Type\Command;
class {{ name }} extends Command
{
protected string $command = 'command';
protected ?string $description = 'A lovely description.';
public function handle(Nutgram $bot): void
{
$bot->sendMessage('This is a command!');
}
}