Skip to content
Agentmart
Submit a tool

discord-messaging

Message and thread operations using Discord REST API.

Skill by TAATHub

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/taathub-discord-messaging

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Message and thread operations using Discord REST API. Supports message retrieval (with limit, date, date range, attachment URL extraction), message sending (text, image files), and thread operations (list threads, get thread messages). Use for requests like "get Discord messages", "send a message to Discord", "list threads", "get messages in a thread".

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/discord-messaging

What's inside

Skill name
discord-messaging
Description
Message and thread operations using Discord REST API. Supports message retrieval (with limit, date, date range, attachment URL extraction), message sending (text, image files), and thread operations (list threads, get thread messages). Use for requests like "get Discord messages", "send a message to Discord", "list threads", "get messages in a thread".
License
MIT
Instructions
117 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (8)

  • SKILL.md
  • messages.md · references/
  • reactions.md · references/
  • threads.md · references/
  • date-to-snowflake.sh · scripts/
  • messages.sh · scripts/
  • reactions.sh · scripts/
  • threads.sh · scripts/

SKILL.md (first lines)

# Discord API

Retrieve and send messages using the Discord REST API.

## Get Messages

```bash
# Get latest 50 messages
scripts/messages.sh get <channel_id>

# With options
scripts/messages.sh get <channel_id> --limit 20
scripts/messages.sh get <channel_id> --after <snowflake_id> --limit 100
```

For response format and error handling, see [references/messages.md](references/messages.md).

## Send Messages

```bash
# Text message (direct) - for simple messages
scripts/messages.sh send <channel_id> "Message content"

# Text message (JSON) - recommended for complex messages with newlines/emoji
scripts/messages.sh send <channel_id> --json '{"content": "Line1\nLine2 💸"}'

# With file attachment
scripts/messages.sh upload <channel_id> --file /path/to/image.png

# Text and file
scripts/messages.sh upload <channel_id> --content "Check this!" --file /path/to/image.png

# Multiple files
scripts/messages.sh upload <channel_id> --content "Multiple files" --file /path/to/a.png --file /path/to/b.jpg
```

## Delete Messages

```bash
# Delete a message
scripts/messages.sh delete <channel_id> <message_id>
```

## Add Reactions

```bash
# Add checkmark reaction
scripts/reactions.sh add <channel_id> <message_id> "%E2%9C%85"

# Add custom emoji
scripts/reactions.sh add <channel_id> <message_id> "custom_emoji:111222333"

# Remove own reaction
scripts/reactions.sh remove <channel_id> <message_id> "%E2%9C%85"

# List users who reacted
scripts/reactions.sh list <channel_id> <message_id> "%E2%9C%85" --limit 50
```

For emoji encoding reference, see [references/reactions.md](references/reactions.md).

## Thread Operations

```bash
# Get thread info
scripts/threads.sh info <thread_id>

# Get messages in thread
scripts/threads.sh messages <thread_id> --limit 50

# List active threads in guild
scripts/threads.sh active <guild_id>

# List archived threads in channel
scripts/threads.sh archived <channel_id> --type public --limit 20

# Send message to thread
scripts/threads.sh send <thread_id> "Hello thread!"
```

For details, see [references/threads.md](references/threads.md).

## Snowflake ID Conversion

For date-based filtering, convert dates to Snowflake IDs:

```bash
# Today at 00:00:00 UTC
scripts/date-to-snowflake.sh

# Specific date at 00:00:00 UTC
scripts/date-to-snowflake.sh 2024-01-15

# Specific date at 00:00:00 JST
scripts/date-to-snowflake.sh 2024-01-15 JST
```

### Example: Get messages for a specific date (JST)

```bash
# Get messages from 2024-01-15 JST
AFTER_ID=$(scripts/date-to-snowflake.sh 2024-01-15 JST)
BEFORE_ID=$(scripts/date-to-snowflake.sh 2024-01-16 JST)
scripts/messages.sh get <channel_id> --after $AFTER_ID --before $BEFORE_ID --limit 100
```

## How to Get Channel ID

1. Discord Settings → Advanced → Enable Developer Mode
2. Right-click on a channel → "Copy ID"

## How to Get Guild ID

1. Discord Settings → Advanced → Enable Developer Mode
2. Right-click on the server name → "Copy ID"

From TAATHub/claude-code, MIT.

More from TAATHub/claude-code

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 8, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from TAATHub

Cite this page

discord-messaging skill. Agent Mart. https://agentmart.dev/skills/taathub-discord-messaging (last updated 2026-10-24)