DiscordService
class DiscordService
Service for sending alerts via Discord.
This service handles the dispatching of messages to Discord webhooks, supporting proxy and verification configurations.
Properties
| protected Client | $client |
Methods
void
__construct()
Create a new service instance.
void
sendMessage(string $content, string $botKey = 'default')
Send a message to a Discord channel via webhook.
Details
at line 25
void
__construct()
Create a new service instance.
at line 35
void
sendMessage(string $content, string $botKey = 'default')
Send a message to a Discord channel via webhook.