added embedded Discord messages logic
This commit is contained in:
@@ -12,7 +12,7 @@ class DiscordChannel
|
||||
*/
|
||||
public function send(SendsDiscord $notifiable, Notification $notification): void
|
||||
{
|
||||
$message = $notification->toDiscord($notifiable);
|
||||
$message = $notification->toDiscord();
|
||||
$webhookUrl = $notifiable->routeNotificationForDiscord();
|
||||
if (! $webhookUrl) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user