mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
20 lines
358 B
PHP
20 lines
358 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Events\Admin\Feature;
|
|
|
|
use App\Events\Base\Admin\AdminCreatedEvent;
|
|
use App\Models\Admin\Feature;
|
|
|
|
/**
|
|
* @extends AdminCreatedEvent<Feature>
|
|
*/
|
|
class FeatureCreated extends AdminCreatedEvent
|
|
{
|
|
public function shouldSendDiscordMessage(): bool
|
|
{
|
|
return $this->getModel()->isNullScope();
|
|
}
|
|
}
|