Skip to content

Fun & extras

Webhooks

Send messages under any name and avatar, like an announcement from "Server News". You can edit or delete them later, which normal bot messages can't do for you.

1 min read Needs Manage Webhooks21 commands documented

Make a webhook

  1. Step 1: Create one in a channel and give it a short name to use in commands: !webhook create #announcements news.

  2. Step 2: Pleed replies with its identifier (news).

  3. Step 3: Change how it looks with !webhook name news Server News and !webhook avatar news (attach an image or paste a link).

Webhook commands are for Administrators.

Send a message

!webhook send news Big update {timestamp:R}!

Attach files and they're sent too. The slash version, /webhook send, has boxes for an embed (title, description, colour, image, footer), up to three files, a one-off name and avatar, a thread and silent mode.

What members see
announcements

PleedBOTToday at 18:40

Server News

Big update in 3 hours!

Variables

Put these in a message or embed and Pleed fills them in when it sends. !webhook variables shows the list in Discord.

KindVariables
User
{user} {user.name} {user.display_name} {user.id} {user.avatar}
Server
{guild} {guild.id} {guild.icon} {member.count}
Channel
{channel} {channel.name} {channel.id}
Time
{timestamp} {timestamp:R} ("in 3 hours") {timestamp:F} (full date) {date}

Edit or delete a message

Right-click the message, Copy Message Link, then:

  • !webhook edit <link> <new text> changes it.
  • !webhook deletemsg <link> deletes it.

!webhook list opens a manager where you can browse, rename, test and delete your webhooks. !webhook cleanup forgets ones that were deleted in Discord.

Common problems

Command reference

21 commands in 2 groups, straight from the bot's code. <angle brackets> mark required arguments and [square brackets] optional ones; an alias replaces the last word of the command.

!webhook11 commands

  • !webhook

    Show the webhook commands.

    Aliaseswebhookswh

  • !webhook avatar <identifier> [image_url]

    Change a webhook's avatar. Attach an image, reply to one, or pass a URL.

    Aliasesimageeditavatareditimage

  • !webhook cleanup

    Forget saved webhooks that no longer exist on Discord.

    Aliasprune

  • !webhook create <channel> <name>

    Create a new webhook in the specified channel under a short identifier.

    Aliasesaddnew

  • !webhook delete <identifier>

    Delete a saved webhook, after confirmation.

    Aliasesremovedel

  • !webhook deletemsg <message_link>

    Delete a message that was previously sent through this system.

    Aliasdelmsg

  • !webhook edit <message_link> <new_message>

    Edit a message previously sent through this system (text, embed code, or JSON).

  • !webhook list

    Open the webhook manager: browse, rename, test and delete.

    Aliasesshowallmanage

  • !webhook name <identifier> <new_name>

    Change the name of a saved webhook.

    Aliaseseditnamerename

  • !webhook send <identifier> [payload]

    Send a message (and any attachments) through a saved webhook.

  • !webhook variables

    Show the variables you can use in messages and embeds.

    Aliasvars

/webhook10 commands

  • /webhook avatar <identifier> [image] [image_url]

    Slash

    Change the avatar of a saved webhook

  • /webhook cleanup

    Slash

    Remove saved webhooks that no longer exist on Discord

  • /webhook create <channel> <name>

    Slash

    Create a new relay webhook in a channel

  • /webhook delete <identifier>

    Slash

    Delete a saved webhook

  • /webhook deletemsg <message_link>

    Slash

    Delete a message previously sent through a webhook

  • /webhook edit <message_link> <new_message>

    Slash

    Edit a message previously sent through a webhook

  • /webhook list

    Slash

    Open the webhook manager for this server

  • /webhook name <identifier> <new_name>

    Slash

    Change the name of a saved webhook

  • /webhook send <identifier> [message] [style] [embed_title] [embed_description] [embed_color] [embed_footer] [embed_image] [embed_thumbnail] [embed_json] [file] [file2] [file3] [username] [avatar] [thread] [silent]

    Slash

    Send a message through a saved webhook

  • /webhook variables

    Slash

    Show variables you can use in messages and embeds

Stuck on something?

Ask the Pleed team and community in the support server — or browse every public command in the command explorer.