Vik.Webhook (Vik v0.0.1-rc1)
View SourceHandler for integrating Vik into 3rd-party software using (optional) webhooks.
Usage
To utilize this functionality, export the DEFAULT_WEBHOOK
variable in your system's environment:
export DEFAULT_WEBHOOK="https://discord.com/api/webhooks/..."
Available webhooks
DEFAULT_WEBHOOK
receives messages for all events.LOGGER_WEBHOOK
receives onlylogger.message
events.SCRY_WEBHOOK
receives onlyshard.save
events.
Summary
Functions
Sends a message to a user-defined webhook.