Skip to content
Back to skills

Discord Sync

ASecurity

Sync Discord server messages using BOT TOKEN. Faster with higher rate limits. Use when routed here by community-agent:discord-sync or user explicitly requests bot token sync.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add lycfyi/community-agent-plugin --skill discord-sync --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Discord Sync?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Discord Sync
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lycfyi-discord-sync-community-agent-plugin/badge)](https://www.skillsdirectory.com/skills/lycfyi-discord-sync-community-agent-plugin)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: discord-sync
description: "Sync Discord server messages using BOT TOKEN. Faster with higher rate limits. Use when routed here by community-agent:discord-sync or user explicitly requests bot token sync."
---

# Discord Bot Token Sync

Syncs messages from Discord servers using bot token for higher rate limits and official API compliance.

## When to Use

- Routed here by `community-agent:discord-sync` preflight check
- User explicitly asks for "bot token sync"
- User wants "faster sync" or "higher rate limits"
- Syncing large servers where rate limits matter

## When NOT to Use

- User just says "sync discord" - use `community-agent:discord-sync` instead (it will route here if appropriate)
- User wants to sync DMs (bots cannot access DMs)
- User needs rich profile data (bio, pronouns)

## Prerequisites

- `.env` with `DISCORD_BOT_TOKEN` set
- Bot added to the target server with these permissions:
  - Read Message History
  - View Channels

## How to Execute

### Sync all channels in a server:

```bash
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_sync.py --server SERVER_ID
```

### Sync with custom history range:

```bash
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_sync.py --server SERVER_ID --days 7
```

### Quick sync (limited messages per channel):

```bash
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_sync.py --server SERVER_ID --quick
```

### Full re-sync:

```bash
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_sync.py --server SERVER_ID --full
```

## Output Location

Messages saved to: `./data/discord/{server_id}-{slug}/{channel_name}/messages.md`

This uses the same unified storage format as `discord-user-connector`, so messages from either connector are compatible.

## Comparison with discord-user-connector:discord-sync

| Feature | discord-bot-connector | discord-user-connector |
|---------|----------------------|------------------------|
| Token | Bot Token | User Token |
| Rate Limits | Higher (official API) | Lower (user API) |
| Server Messages | Yes | Yes |
| DM Access | No | Yes |
| ToS Compliant | Yes | Gray area |

## Limitations

- **Cannot sync DMs** - Bots cannot access user direct messages
- **Cannot send as user** - Messages sent by bot appear as bot
- Requires bot to be added to each server

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.