pm-discord
Purpose
Reads Discord guild, channel, and role data through the Discord REST API using a bot token. The members stream is out of scope for this migration (see docs.md's Known limits).
Icon
- id: simple-icons-discord
- asset: icons/simple-icons/discord.svg
- title: Discord
- simple_icon_slug: discord
- simple_icon_hex: 5865F2
- source: simple-icons
- license: CC0-1.0
- review_status: cc0_with_trademark_caveat
- review_url: https://simpleicons.org/?q=Discord
- match: exact-name-or-slug
- matched_by: discord
Capabilities
- check=true catalog=true read=true write=false query=false
- Integration type: api
Authentication
- Use pm credentials add with --from-env or --value-stdin for secret fields.
Configuration
- base_url
- guild_id (required)
- mode
- bot_token (secret) (required)
ETL Streams
- guilds:
- primary key: id
- fields: approximate_member_count(integer), approximate_presence_count(integer), description(string), icon(string), id(string), name(string), owner_id(string), preferred_locale(string), premium_tier(integer)
- channels:
- primary key: id
- fields: guild_id(string), id(string), name(string), nsfw(boolean), parent_id(string), position(integer), topic(string), type(integer)
- roles:
- primary key: id
- fields: color(integer), hoist(boolean), id(string), managed(boolean), mentionable(boolean), name(string), permissions(string), position(integer)
Sync Modes
- ETL sync modes: full_refresh_append, full_refresh_overwrite
Security
- read risk: external Discord API read of guild, channel, and role data
- approval: none; read-only source connector
- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.
Commands
Inspect as a manual
pm connectors inspect discord
Inspect as structured JSON
pm connectors inspect discord --json
Agent Rules
- Run pm connectors inspect discord before creating credentials or plans.
- Use --json only when the caller needs structured output; use the manual for human-readable guidance.
- Never ask the user to paste secret values into chat.
1---2name: pm-discord3description: Discord connector knowledge and safe action guide.4metadata:5 source: https://skillmd.com/skills/polymetrics-ai/pm-discord6---78# pm-discord910## Purpose1112Reads Discord guild, channel, and role data through the Discord REST API using a bot token. The members stream is out of scope for this migration (see docs.md's Known limits).1314## Icon1516- id: simple-icons-discord17- asset: icons/simple-icons/discord.svg18- title: Discord19- simple_icon_slug: discord20- simple_icon_hex: 5865F221- source: simple-icons22- license: CC0-1.023- review_status: cc0_with_trademark_caveat24- review_url: https://simpleicons.org/?q=Discord25- match: exact-name-or-slug26- matched_by: discord2728## Capabilities2930- check=true catalog=true read=true write=false query=false31- Integration type: api3233## Authentication3435- Use pm credentials add with --from-env or --value-stdin for secret fields.3637## Configuration3839- base_url40- guild_id (required)41- mode42- bot_token (secret) (required)4344## ETL Streams4546- guilds:47 - primary key: id48 - fields: approximate_member_count(integer), approximate_presence_count(integer), description(string), icon(string), id(string), name(string), owner_id(string), preferred_locale(string), premium_tier(integer)49- channels:50 - primary key: id51 - fields: guild_id(string), id(string), name(string), nsfw(boolean), parent_id(string), position(integer), topic(string), type(integer)52- roles:53 - primary key: id54 - fields: color(integer), hoist(boolean), id(string), managed(boolean), mentionable(boolean), name(string), permissions(string), position(integer)5556## Sync Modes5758- ETL sync modes: full_refresh_append, full_refresh_overwrite5960## Security6162- read risk: external Discord API read of guild, channel, and role data63- approval: none; read-only source connector64- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.6566## Commands6768### Inspect as a manual6970```bash71pm connectors inspect discord72```7374### Inspect as structured JSON7576```bash77pm connectors inspect discord --json78```7980## Agent Rules8182- Run pm connectors inspect discord before creating credentials or plans.83- Use --json only when the caller needs structured output; use the manual for human-readable guidance.84- Never ask the user to paste secret values into chat.