๐ฌ Sending Multiple Embeds via channels/{id}/messages
This guide shows how to use Inventor.ggโs Network Request block to send multiple Discord embeds using the official https://discord.com/api/v10/channels/{channel.id}/messages endpoint.
๐ง Requirementsโ
- A valid Bot Token with
Send Messagespermission - The Channel ID you want to post to
- Inventor.gg with Network Request block
๐ Endpointโ
Use this URL:
https://discord.com/api/v10/channels/YOUR_CHANNEL_ID/messages
Replace YOUR_CHANNEL_ID with the actual channel ID you want the message sent to.
๐ฎ Methodโ
POST
๐งพ Headersโ
You must include the following headers in the Network Request block:
Authorization=Bot YOUR_BOT_TOKEN
๐ Be sure to keep your bot token private.
๐งฌ Raw Bodyโ
Set the Content Type to application/json and paste this JSON:
{
"content": "Here's a message with multiple embeds!",
"embeds": [
{
"title": "๐ First Embed",
"description": "This is the first embed block.",
"color": 5814783
},
{
"title": "๐ Second Embed",
"description": "This is the second embed block.",
"color": 16711680
}
]
}
๐งช Full Setup in Inventor.ggโ
1. Drag in a Network Request block.โ
2. Set:โ
| Field | Value |
|---|---|
| URL | https://discord.com/api/v10/channels/YOUR_CHANNEL_ID/messages |
| Method | POST |
| Content-Type | application/json |
| Headers | Authorization=Bot YOUR_BOT_TOKEN |
| Body Type | Raw |
| Raw Body | (see JSON above) |
๐ง Notesโ
- You can send up to 10 embeds per message.
- Each embed can include title, description, color, footer, timestamp, images, and fields.
- The bot must be in the channel and have message sending permission.
๐ Troubleshootingโ
| Error | Cause |
|---|---|
| 401 Unauthorized | Invalid or missing Bot token |
| 403 Forbidden | Bot lacks permissions in the channel |
| 400 Bad Request | JSON format is incorrect or missing required fields |
๐ก Tipโ
Use tools like https://discohook.org to design your embeds before copying the JSON into Inventor.gg.