multiple commands
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Lucent\Channel;
|
||||
|
||||
use Lucent\Channel\Data\UserCommand;
|
||||
use Lucent\Primitive\Collection;
|
||||
use Lucent\Schema\Schema;
|
||||
|
||||
@@ -13,12 +14,13 @@ final class Channel
|
||||
|
||||
/**
|
||||
* @param Collection<Schema> $schemas
|
||||
* @param Collection<UserCommand> $commands
|
||||
*/
|
||||
function __construct(
|
||||
public string $name,
|
||||
public string $url,
|
||||
public string $previewTarget,
|
||||
public string $generateCommand,
|
||||
public Collection $commands,
|
||||
public Collection $schemas,
|
||||
public array $imageFilters,
|
||||
public array $roles,
|
||||
|
||||
Reference in New Issue
Block a user