Send
This module allows authorized users to send messages through the bot, and/or editing previously sent messages.
Note
All 4 actions below live under one /send command tree, and each one opens a short form (a Discord modal) to type the actual message/embed content, instead of taking it as a command argument. The dashboard's Message Composer page offers a Send and an Edit action with a full JSON embed editor and a live preview - use whichever you prefer.
Warning
Neither the /send forms below nor the dashboard's Message Composer page support attaching a file/image - Discord's modal forms have no file-upload field, and the dashboard's message editor doesn't expose one either.
/send message
Command Syntax
/send message channel:{channel} Command Description
Opens a form to send a message to the given channel. The form's single field accepts either plain text, or embed json built with Discohook.
Permissions Needed
- User: None.
Examples
/send message channel:#this-channel
/send embed
Command Syntax
/send embed channel:{channel} Command Description
Opens a form to send an embed (built as JSON, e.g. with Discohook) to the given channel.
Warning
Only JSON is accepted for embeds - there's no tag-based shorthand.
Permissions Needed
- User: None.
Examples
/send embed channel:#that-channel
/send edit
Command Syntax
/send edit message_link:{message link} Command Description
Opens a form, pre-filled with the message's current content, to edit a message GiselleBot previously sent. Paste the message's link (right-click a message -> Copy Message Link).
You can use embed json built with Discohook instead of a regular text, if you want the message to be embedded.
You cannot edit a message attachment.
Note
To remove the content (plain text) of a message, submit {"content":""} as the form's content. To remove all embeds of a message, submit {"embeds":[]}.
Note
Only messages under 4000 characters can be edited this way (the form can't pre-fill a longer message without silently truncating it).
Permissions Needed
- User: None.
Examples
/send edit message_link:https://discord.com/channels/533372744130363392/534171951732752394/534751296847216642
/send webhook
Command Syntax
/send webhook webhook_url:{full webhook URL} Command Description
Opens a form to send a message through a webhook. Paste the webhook's full URL - the webhook doesn't have to belong to the channel you run the command from, only to the current server.
This command is meant to test the functionality of a Discord webhook.
You can use embed json built with Discohook instead of a regular text, if you want the message to be embedded.
Permissions Needed
- User: Manage Webhooks. Discord's command-permissions picker for
/senditself is open to everyone; Manage Webhooks is enforced in-code for this subcommand (see Layer 3).
Examples
/send webhook webhook_url:https://discord.com/api/webhooks/123456789098765432/AbCdEf...
On the Dashboard
Your server's Message Composer page covers Send and Edit in two tabs, without the modal-form size limits:
- Send - pick a channel, then write the message content and/or a full embed in the built-in JSON embed editor, with a live preview of how it will look. After sending, an Edit This Message link jumps straight into the Edit tab, pre-filled with what was just sent.
- Edit - paste a message link (or reuse the one from Send) to load its current content/embed into the same editor and save changes.
Like every /send form, neither tab can attach a file/image - see the Warning above.
See also
Full migration mapping for these commands: Migration Guide.