Webhook

Relay messages to through a webhook with a custom username and avatar.

What is a webhook?

A webhook is a way to post a message with a custom username and avatar to a channel.

Webhooks support embeds with dynamic variables.

Syntax: ;webhook create [channel] [name]
Example: ;webhook create #welcome evelina

Customizing the webhook

If you want to change the webhook’s username or avatar, you can use the webhook edit command.

Syntax: ;webhook edit name [code] [name]
Example: ;webhook edit name bZYdgLvu evelina
Syntax: ;webhook edit avatar [code] [url]
Example: ;webhook edit avatar bZYdgLvu https://evelina.bot/icon.png

Sending a message

After creating a webhook, you can use the webhook send command to send a message.

If you’ve forgotten the identifier, you can use the webhook list command to view all webhooks.

Editing the message

You can use the webhook update command to edit a message sent by a webhook.

Syntax: ;webhook update [message] [script]
Example: ;webhook update .../channels.../ hello world
Deleting a webhook

You can use the webhook delete command to delete a webhook.

Syntax: ;webhook delete [code]
Example: ;webhook delete bZYdgLvu
Viewing all webhooks

You can use the webhook list command to view all webhooks.

Last updated