serenity
HomeCommandsStatusEmbed BuilderFAQ
  • Introduction
  • Get started
    • Welcome & Leave
      • Setting up Welcome
      • Setting up Leave
      • Setting up JoinDM
    • Moderation Setup
    • Lastfm
  • Security Setup
    • Antinuke
      • antinuke rolecreate
      • antinuke roledelete
      • antinuke editrole
      • antinuke giverole
      • antinuke channelcreate
      • antinuke channeldelete
      • antinuke kick
      • antinuke ban
      • antinuke massmention
      • antinuke newaccounts
      • antinuke spammer
      • antinuke botadd
    • Automod
      • Filter Invites
      • Filter Words
      • Filter Joins
    • Fake Permissions
  • Server Setup
    • Roles
      • Reaction Roles
      • Booster Roles
      • Button Roles
    • VoiceMaster
    • Counters
    • Tickets
    • Starboard
  • Embeds
    • Content in Embeds
      • Parameters
      • Variables
    • Writing Embed Code
    • Using Webhooks
    • Pagination
  • Miscellaneous
    • Antinuke Punishments
    • Fake Permissions
    • Donator Perks
    • Website
    • Support Server
Powered by GitBook
On this page
  • Creating a Webhook
  • Sending Content via Webhook
  • Editing a Webhook
  • Delete a Webhook
  1. Embeds

Using Webhooks

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

PreviousWriting Embed CodeNextPagination

Last updated 8 months ago

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.

You cannot use webhooks that already exist to send content, they have to be created and managed by serenity.

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.

If you pass the code to someone else, they can bypass the @role, @everyone permission by discord.

// 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