$ cat ~/map/pi-discord.md
pi-discord
Read-only Discord integration for pi: list servers, channels, and messages, optionally send with confirmation.
extensions✓ Oct 16
Facts
- repository
- github.com/tkoyama010/pi-discord ↗
- GitHub Stars
- ★ 1
- Forks
- 0
- license
- —
- npm / mo
- —
- last push
- Aug 30, 2026
## TL;DR
Read-only Discord integration for pi that talks to the bot REST API — no gateway, no daemon — exposing tools to list guilds, channels, messages, and members, plus an optional send that prompts for confirmation.
## Key points
- $Read-only by default (plus optional send) via the Discord bot REST API — no gateway connection and no daemon process.
- $Tools: discord_get_guilds (list servers), discord_get_channels (list channels in a guild), discord_get_messages (1-100 recent messages, default 25), discord_get_members (1-1000 members, default 100), and discord_send_message, which prompts for confirmation before posting.
- $Setup: create a bot in the Discord developer portal, enable Message Content Intent, invite it with View Channels, Read Message History, and Send Messages permissions, then run /discord-setup in pi and paste the token — config is saved to ~/.pi/agent/extensions/pi-discord.json. A DISCORD_BOT_TOKEN environment variable works as an alternative.
- $Commands: /discord shows the connection status and /discord-setup configures the bot token interactively.
- $Install by adding the package path to the packages array in ~/.pi/agent/settings.json, then run /reload in pi.
## FAQ
Q Why is Message Content Intent required?
The bot cannot read message content without it — the README lists enabling Message Content Intent in Bot settings as a required setup step.
## References
## Related entries
$ pi-librenms
LibreNMS network-monitoring tools for pi: devices, ports, alerts, and Oxidized configs over the REST API, no MCP layer.
$ big-pi
Model-driven compression that summarizes completed phases into tiered blocks while Pi's JSONL transcript stays authoritative and untouched.
$ dsh-pi-agent
DeepSeek Harness (DSH) AgentFactory that swaps DSH's native agent loop for a headless pi --mode rpc child, so DSH's web UI, sessions, hooks, and presets keep working with pi's minimal prompt and four tools.
Last updated: Aug 31, 2026