active(FeatureConstants::ALLOW_DISCORD_NOTIFICATIONS)) { Notification::route('discord', $this->event->getDiscordChannel()) ->notify(new DiscordNotification($this->event->getDiscordMessage())); } } public function middleware(): array { return [new RateLimited()]; } /** * Determine the time at which the job should time out. */ public function retryUntil(): DateTime { return Date::now()->addMinutes(15); } }