*/ public function via(object $notifiable): array { return ['mail', DiscordChannel::class]; } /** * Get the mail representation of the notification. */ public function toMail(object $notifiable): MailMessage { return (new MailMessage) ->line('Welcome to Coolify!') ->action('Go to dashboard', url('/')) ->line('We need your attention for disk usage.'); } public function toDiscord(object $notifiable): string { return 'Welcome to Coolify! We need your attention for disk usage. [Go to dashboard]('.url('/').')'; } /** * Get the array representation of the notification. * * @return array */ public function toArray(object $notifiable): array { return [ // ]; } }