Discord社区

Query Discord channels, messages, members, and threads via REST API.

124|12|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/tuyoogame/tyclaw.rs --skill discord-tuyoogame
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Discord社区
Source: https://github.com/tuyoogame/tyclaw.rs/tree/main/workspace/skills/data/discord
Command: npx skills add https://github.com/tuyoogame/tyclaw.rs --skill discord-tuyoogame

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Discord communities require access to channels, messages, members, and threads for monitoring, reporting, and analytics. This Skill enables read-only retrieval of such data via the Discord REST API, with per-user credentials injected securely via credentials.yaml.

Core Features & Use Cases

  • Channel discovery: fetch channel lists and types from a guild
  • Message retrieval: pull recent messages from channels
  • Member & thread insights: list guild members and active threads
  • Credential management: credentials are managed through per-user credentials.yaml

Quick Start

Set up your bot token and guild_id using credentials.yaml, then run tools/discord_api.py get-guild and follow with list-channels, get-messages, list-members, and list-threads as needed.

Frequently Asked Questions about Discord社区

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve Discord channel messages and member data for community analytics?

You can retrieve Discord channel messages and member data by using a bot token and guild_id configured in per-user credentials.yaml, executing REST API calls to fetch channels, messages, members, and threads for community monitoring and engagement analytics.

What do I need to set up before querying Discord guild data via the REST API?

Before querying Discord guild data, you need to create a Discord bot, obtain a bot token, identify your target guild_id, and configure both values securely in a per-user credentials.yaml file for read-only REST API access.

Can I pull recent messages and active threads from specific Discord channels?

Yes, you can pull recent messages and list active threads from specific Discord channels by running the designated API tool commands after configuring your credentials, enabling daily reporting and engagement tracking across your server.

Does this approach support write operations or is it limited to read-only Discord data retrieval?

This approach is limited to read-only retrieval of Discord data, meaning it fetches channels, messages, members, and threads for monitoring and analytics but does not support writing, posting, or modifying server content.

What's the best way to monitor Discord community engagement for daily reporting?

The best way to monitor Discord community engagement for daily reporting is to automate read-only REST API queries that fetch channel lists, recent messages, member counts, and active threads using securely injected per-user credentials.

Why do I need a per-user credentials.yaml file to access Discord API data?

You need a per-user credentials.yaml file to securely inject your bot token and guild_id for Discord API access, ensuring that authentication credentials are managed safely per user without hardcoding sensitive data into scripts.