*/ class FeatureCreated extends AdminCreatedEvent { public function __construct(Feature $feature) { parent::__construct($feature); } public function getModel(): Feature { return $this->model; } protected function getDiscordMessageDescription(): string { return "Feature '**{$this->getModel()->getName()}**' has been created."; } public function shouldSendDiscordMessage(): bool { return $this->getModel()->isNullScope(); } }