*/ class UserCreated extends AdminCreatedEvent { public function __construct(User $user) { parent::__construct($user); } /** * Get the model that has fired this event. */ public function getModel(): User { return $this->model; } /** * Get the description for the Discord message payload. */ protected function getDiscordMessageDescription(): string { return "User '**{$this->getModel()->getName()}**' has been created."; } }