Implement Discord webhook delivery

This commit is contained in:
Eric Peters
2026-04-24 18:29:32 +02:00
parent a1dc615958
commit 4908064f6d
6 changed files with 429 additions and 24 deletions
@@ -19,7 +19,7 @@ class QueueTicketStatusChangedNotificationDeliveries
->each(function (NotificationAction $notificationAction) use ($event): void {
$notificationDeliveryLogId = null;
if ($notificationAction->channel === NotificationChannel::Webhook) {
if (in_array($notificationAction->channel, [NotificationChannel::Discord, NotificationChannel::Webhook], true)) {
$notificationDeliveryLogId = NotificationDeliveryLog::query()->create([
'attempt_count' => 0,
'channel' => $notificationAction->channel,