Discord

Discord bots, guilds, channels, threads.

Edit this page·Last updated: July 13, 2026

Discord

pepe.business manages Discord bots (guilds, channels, threads, scheduled events).

Connection

Create a bot on the Discord Developer Portal, then connect the token:

POST /v1/connect/discord
{ "botToken": "MTk2N..." }

pepe.business generates the invitation URL to share with your server.

Send a message

POST /v1/messages
{
  "platform": "discord",
  "to": "channel_id",
  "text": "Hello Discord!"
}

Embeds

POST /v1/messages
{
  "platform": "discord",
  "to": "channel_id",
  "discordOptions": {
    "embed": {
      "title": "New release",
      "description": "Version 2.0.0 available",
      "color": 0x10b981,
      "fields": [
        { "name": "Features", "value": "..." },
        { "name": "Bug fixes", "value": "..." }
      ]
    }
  }
}

Threads

POST /v1/discord/threads
{
  "channelId": "xxx",
  "name": "Release 2.0 discussion",
  "type": "public"
}

Scheduled events

POST /v1/discord/scheduled-events
{
  "guildId": "xxx",
  "name": "Live Q&A",
  "description": "Ask your questions",
  "scheduledStartTime": "2026-07-20T18:00:00Z",
  "entityType": "external",
  "entityMetadata": { "location": "https://zoom.us/..." }
}

Get members

GET /v1/discord/guilds/{guildId}/members?limit=100

Limits

  • 50 messages / 10s per channel
  • 5,000 characters per message
  • Embeds: 6,000 characters total
  • 25 fields per embed

Was this page helpful?