Using Webhooks

Webhooks can be utilized with raw text or embeds. You can customize a webhook's name and avatar.

Replace [prefix] with your server's prefix.

Creating a Webhook

This command will create a webhook managed by serenity. Using these, you can send embed/text through that webhook.

Running this command will provide you with a unique code for that webhook. Keep this a secret, that code can be used to send content through the webhook. You cannot send content via webhook without that identifier.

// Syntax
[prefix]webhook create [channel] [name]
// Example
;webhook create #general AI

Sending Content via Webhook

Utilizing the [prefix]webhook send command, you can send embed/raw text via your webhook.

// Syntax
[prefix]webhook send [code] [script]
// Example
;webhook send rmszccn7 {embed}{description: stuff}

Editing a Webhook

Do you want to change your webhooks profile? You can modify the name and avatar of a webhook by using [prefix]webhook edit

// Syntax
[prefix]webhook edit name [code] [name]
[prefix]webhook edit avatar [code] [attachment/image url]

// Example
;webhook edit name rmszccn7 cool webhook

Delete a Webhook

Running this command, deletes a serenity-managed webhook in your server.

You cannot delete normally created webhooks via this command!

// Syntax
[prefix]webhook delete [code]

// Example
;webhook delete rmszccn7

Last updated