### Clone and setup from source Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/README.md Alternative installation method that includes downloading the documentation mirror. ```bash git clone https://github.com/0xABADBABE-ops/discord-jet-skills cd discord-jet-skills node download-docs.mjs # ~160 mirrored .md pages → developers/ ``` -------------------------------- ### Install discord-jet-skills via npm Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/README.md Standard installation command for the package. ```bash npm install discord-jet-skills ``` -------------------------------- ### Construct API Request URL Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-foundations/tests/scenarios.md Example URL structure for fetching a user resource using API version 10. ```text https://discord.com/api/v10/users/123456 ``` -------------------------------- ### Define Required Installation Scopes Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-foundations/tests/scenarios.md Required scopes for a guild-installed bot utilizing slash commands. ```text applications.commands (for slash commands) and bot (for bot user in guild). ``` -------------------------------- ### GET /applications/{id}/skus Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Retrieve SKUs for an application. ```APIDOC ## GET /applications/{id}/skus ### Description Retrieve SKUs for an application. ### Method GET ### Endpoint /applications/{id}/skus ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the application. ``` -------------------------------- ### GET /gateway Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-gateway-events/SKILL.md Retrieves the WebSocket gateway URL to initiate a connection. ```APIDOC ## GET /gateway ### Description Retrieves the WSS URL to be used for establishing a WebSocket connection to the Discord Gateway. ### Method GET ### Endpoint /gateway ``` -------------------------------- ### Get voice regions Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/tests/scenarios.md Retrieves a list of available voice regions for channel configuration. ```http GET /voice/regions ``` -------------------------------- ### GET /channels/{id}/messages Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Retrieve messages from a specific channel. ```APIDOC ## GET /channels/{id}/messages ### Description Retrieve messages from a specific channel. ### Method GET ### Endpoint /channels/{id}/messages ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the channel. ``` -------------------------------- ### Launch the interactive skill browser Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/README.md Use the CLI to launch the interactive skill browser or run the router script directly. ```bash npx jet-router # or: node jet-skill-router.mjs ``` -------------------------------- ### Project file layout Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/README.md Overview of the repository structure and core script files. ```text skills/ 13 skill areas (SKILL.md + tests/) jet npm bin wrapper → _jet_cli.mjs jet-router npm bin wrapper → jet-skill-router.mjs _jet_cli.mjs interactive maintenance menu jet-skill-router.mjs skill discovery & routing _eval_runner.mjs TDD skill test runner _maintenance.mjs maintenance orchestrator download-docs.mjs mirror generator _resync_check.js changelog → affected areas _drift_probe.mjs live-vs-local drift detector _validate_xrefs.js xref + source path validator registry.md skill map + tool table ``` -------------------------------- ### Launch the interactive CLI Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/README.md Commands to open the interactive menu for managing documentation and running checks. ```bash npx jet ``` ```bash npm run cli ``` -------------------------------- ### POST /applications/{appId}/quick-links/ Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/SKILL.md Creates an ephemeral quick-link for an application with a 30-day TTL and customizable embed. ```APIDOC ## POST /applications/{appId}/quick-links/ ### Description Creates an ephemeral quick-link for an application. These links have a 30-day TTL and support customizable embeds. ### Method POST ### Endpoint /applications/{appId}/quick-links/ ``` -------------------------------- ### POST /oauth2/device/authorize Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Initiates the device authorization flow for consoles. ```APIDOC ## POST /oauth2/device/authorize ### Description Initiates the device authorization flow for console applications. ### Method POST ### Endpoint /oauth2/device/authorize ### Response #### Success Response (200) - **device_code** (string) - The device verification code - **user_code** (string) - The user verification code - **verification_uri** (string) - The URI for the user to visit - **verification_uri_complete** (string) - The full URI for the user to visit - **expires_in** (integer) - Expiration time in seconds - **interval** (integer) - Polling interval in seconds ``` -------------------------------- ### DiscordSDK Lifecycle Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/SKILL.md The mandatory sequence for initializing the SDK, authorizing the user, and authenticating the session. ```APIDOC ## SDK Lifecycle ### Steps 1. **Construct**: `new DiscordSDK(YOUR_OAUTH2_CLIENT_ID)` 2. **Handshake**: `await discordSdk.ready()` 3. **Authorize**: `discordSdk.commands.authorize({client_id, response_type:'code', prompt:'none', scope:[...]})` 4. **Token Exchange**: Server-side POST to `/api/oauth2/token` 5. **Authenticate**: `discordSdk.commands.authenticate({access_token})` 6. **Disconnect**: Handle `[CLOSE, {message, code}]` ``` -------------------------------- ### Subscribing to Layout Mode Updates Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/tests/scenarios.md Use the compatibility helper to track layout changes across different client versions. Always unsubscribe on unmount to prevent memory leaks. ```javascript discordSdk.subscribeToLayoutModeUpdatesCompat(handler) ``` ```javascript discordSdk.unsubscribeFromLayoutModeUpdatesCompat(handler) ``` -------------------------------- ### POST /partner-sdk/token/bot Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Authenticates a user using a bot token. Recommended for games with unique user IDs and a backend server. ```APIDOC ## POST /partner-sdk/token/bot ### Description Authenticates a user using a bot token. This method is recommended for games that have unique user IDs and a backend server. ### Method POST ### Endpoint /partner-sdk/token/bot ### Parameters #### Request Body - **external_user_id** (string) - Required - The unique user ID from the game backend. - **preferred_global_name** (string) - Optional - The preferred display name for the user. ``` -------------------------------- ### Logging Configuration and Forwarding Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/SKILL.md Configuration options for managing console logs during development. ```javascript {disableConsoleLogOverride: true} ``` ```javascript captureLog({level, message}) ``` -------------------------------- ### POST /partner-sdk/token Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Authenticates a user using external credentials like OIDC, Steam, or EOS. ```APIDOC ## POST /partner-sdk/token ### Description Authenticates a user using external credentials. This is required for server-side OIDC, Steam, or EOS custom integrations. ### Method POST ### Endpoint /partner-sdk/token ### Parameters #### Request Body - **external_auth_type** (string) - Required - The type of identity provider (e.g., OIDC, STEAM_SESSION_TICKET). - **external_auth_token** (string) - Required - The authentication token from the provider. ``` -------------------------------- ### C++ Header Implementation Pattern Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-core/tests/baseline.md The DISCORDPP_IMPLEMENTATION macro must be defined exactly once before including the header file. This pattern is required for the header-only implementation. ```cpp #define DISCORDPP_IMPLEMENTATION #include "discordpp.h" ``` -------------------------------- ### Client::StartCall Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Initiates a voice call within a specified lobby. ```APIDOC ## Client::StartCall(lobbyId) ### Description Starts a voice call in the provided lobby. Returns null if the client is already in a channel. ### Parameters - **lobbyId** (string) - Required - The ID of the lobby to start the call in. ``` -------------------------------- ### Growth and Referral API Methods Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/SKILL.md Methods and endpoints for managing activity sharing and referral tracking. ```javascript shareLink({message, custom_id}) ``` ```http POST /applications/{appId}/quick-links/ ``` -------------------------------- ### SET_CERTIFIED_DEVICES Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-topics/SKILL.md Updates the list of certified audio devices for the local Discord client. ```APIDOC ## POST /rpc ### Description Updates the list of certified audio devices via the local RPC server. ### Method POST ### Endpoint 127.0.0.1:PORT/rpc?v=1&client_id=YOUR_CLIENT_ID ### Request Body - **cmd** (string) - Required - "SET_CERTIFIED_DEVICES" - **args** (object) - Required - Contains the "devices" array sorted by priority ``` -------------------------------- ### Error Handling for Backward Compatibility Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/SKILL.md Recommended error handling pattern when interacting with the SDK to manage client version mismatches. ```javascript RPCErrorCodes.INVALID_COMMAND ``` -------------------------------- ### Layout & Orientation Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/SKILL.md Methods to control the Activity window orientation and subscribe to layout changes. ```APIDOC ## Layout & Orientation ### Methods - `setOrientationLockState({lock_state, picture_in_picture_lock_state, grid_lock_state})`: Sets the orientation lock state (Values: `UNLOCKED`, `PORTRAIT`, `LANDSCAPE`). - `discordSdk.subscribe('ORIENTATION_UPDATE', handler)`: Subscribes to screen orientation changes. - `subscribeToLayoutModeUpdatesCompat(handler)`: Subscribes to layout mode updates (focused/PIP/grid). ``` -------------------------------- ### Referral Link Implementation Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/tests/scenarios.md Implement referral tracking by sharing links with custom IDs and validating referrer IDs on the receiving end to prevent self-referrals. ```javascript discordSdk.commands.shareLink({message: '...', custom_id: uniqueId}) ``` -------------------------------- ### Set Rich Presence Activity with Discord SDK Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-gateway-events/tests/scenarios.md Configures a user activity with state, details, timestamps, and party information using the setActivity command. ```js await discordSdk.commands.setActivity({ activity: { type: 0, name: "Rocket League", state: "In a Match", details: "Ranked Duos: 2-1", timestamps: { start: 15112000660000 }, party: { size: [2, 2] } } }); ``` -------------------------------- ### POST /partner-sdk/provisional-accounts/unmerge Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Unmerges a provisional account using external credentials. ```APIDOC ## POST /partner-sdk/provisional-accounts/unmerge ### Description Unmerges a provisional account using external authentication credentials. ### Method POST ### Endpoint /partner-sdk/provisional-accounts/unmerge ### Parameters #### Request Body - **external_auth_type** (string) - Required - The type of identity provider. - **external_auth_token** (string) - Required - The authentication token from the provider. ``` -------------------------------- ### Construct CDN Image URL Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-foundations/tests/scenarios.md Format for retrieving user avatars from the Discord CDN at a specific size. ```text https://cdn.discordapp.com/avatars/789/abc123.png?size=256 ``` -------------------------------- ### Local Development Tunneling Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/SKILL.md Command to expose a local development server to the internet for Discord integration. ```bash cloudflared tunnel --url http://localhost:PORT ``` -------------------------------- ### Stage Instance API Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing Stage Instances, including creation, retrieval, modification, and deletion. ```APIDOC ## POST /stage-instances ### Description Creates a new stage instance. ### Method POST ### Endpoint /stage-instances ## GET /stage-instances/{channel_id} ### Description Retrieves the stage instance associated with the given channel ID. ### Method GET ### Endpoint /stage-instances/{channel_id} ## PATCH /stage-instances/{channel_id} ### Description Updates an existing stage instance. ### Method PATCH ### Endpoint /stage-instances/{channel_id} ## DELETE /stage-instances/{channel_id} ### Description Deletes a stage instance. ### Method DELETE ### Endpoint /stage-instances/{channel_id} ``` -------------------------------- ### Locking Orientation to Landscape Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/tests/scenarios.md Use this command to force the Activity into landscape mode. Ensure the Developer Portal is also configured for a smoother initial launch experience. ```javascript discordSdk.commands.setOrientationLockState({lock_state: Common.OrientationLockStateTypeObject.LANDSCAPE}) ``` -------------------------------- ### Create a guild template Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/tests/scenarios.md Requires MANAGE_GUILD permission. Returns a guild template object containing a code. ```http POST /guilds/g789/templates {"name":"Starter Server"} ``` -------------------------------- ### Programmatically resolve skills Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/README.md Import the ROUTER module to find skills by topic or ID within your application. ```javascript import { ROUTER } from "discord-jet-skills/jet-skill-router.mjs"; ROUTER.find("rate limit"); // → discord-topics + full paths ROUTER.byId("discord-bots-interactions"); // → entry, docs, tests ``` -------------------------------- ### POST /channels/{id}/send-soundboard-sound Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Play a soundboard sound in a voice channel. ```APIDOC ## POST /channels/{id}/send-soundboard-sound ### Description Play a soundboard sound in a voice channel. ### Method POST ### Endpoint /channels/{id}/send-soundboard-sound ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the voice channel. #### Request Body - **sound_id** (string) - Required - The ID of the sound. - **source_guild_id** (string) - Required - The ID of the source guild. ``` -------------------------------- ### POST /interactions/{id}/{token}/callback Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-bots-interactions/SKILL.md Responds to an interaction received via Gateway or HTTP webhook. This must be called within 3 seconds of receiving the interaction. ```APIDOC ## POST /interactions/{id}/{token}/callback ### Description Responds to an interaction. The initial response must be sent within 3 seconds of the interaction being received. ### Method POST ### Endpoint /interactions/{id}/{token}/callback ### Parameters #### Path Parameters - **id** (string) - Required - The interaction ID. - **token** (string) - Required - The interaction token. ### Request Body - **type** (integer) - Required - The interaction response type (e.g., 4 for CHANNEL_MESSAGE_WITH_SOURCE). - **data** (object) - Optional - The response data, including flags like EPHEMERAL (64). ``` -------------------------------- ### Verify project integrity Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/README.md Run validation and evaluation scripts to ensure cross-references resolve and skills pass tests. ```bash npm run validate # 0 errors = every cross-reference resolves npm run eval # structural + coverage check on all 13 skills ``` -------------------------------- ### Send a soundboard sound from another guild Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/tests/scenarios.md Requires SPEAK, USE_SOUNDBOARD, and USE_EXTERNAL_SOUNDS permissions. The user must be connected to the voice channel. ```http POST /channels/vc456/send-soundboard-sound {"sound_id":"snd999","source_guild_id":"guild123"} ``` -------------------------------- ### Game Invites and Lobbies Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Methods for managing game invites via Rich Presence and lobby operations. ```APIDOC ## Game Invites and Lobbies ### Description Methods for sending activity invites and managing game lobbies. ### Methods - `Client::SendActivityInvite(targetUserId, message)`: Sends an activity invite to a user. - `AcceptActivityInvite(invite, callback)`: Accepts an incoming activity invite. - `Client::CreateOrJoinLobby(secret)`: Creates or joins a lobby based on a secret. - `Client::CreateOrJoinLobbyWithMetadata(secret, lobbyMeta, memberMeta)`: Creates or joins a lobby with initial metadata. - `Client::LeaveLobby(lobbyId)`: Leaves a specific lobby. - `SendLobbyMessage(lobbyId, message)`: Sends a text message to a lobby. ``` -------------------------------- ### User Action Commands Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/SKILL.md Methods available for interacting with Discord UI elements like invites, sharing, and external links. ```APIDOC ## User Action Commands ### Methods - `openExternalLink({url})`: Opens a confirmation modal for external URLs. - `openInviteDialog()`: Opens the invite dialog (requires `CREATE_INSTANT_INVITE` permission). - `openShareMomentDialog({mediaUrl})`: Opens the share moment dialog for Discord CDN URLs. - `encourageHardwareAcceleration()`: Prompts the user to enable hardware acceleration. - `shareLink({message, custom_id})`: Opens the share dialog with a custom ID for tracking. ``` -------------------------------- ### POST /partner-sdk/provisional-accounts/unmerge/bot Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Unmerges a provisional account using a bot token. ```APIDOC ## POST /partner-sdk/provisional-accounts/unmerge/bot ### Description Unmerges a provisional account using bot authentication. ### Method POST ### Endpoint /partner-sdk/provisional-accounts/unmerge/bot ### Parameters #### Request Body - **external_user_id** (string) - Required - The unique user ID associated with the account to unmerge. ``` -------------------------------- ### Discord Gateway Connection Lifecycle Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-gateway-events/SKILL.md The sequence of operations for establishing, maintaining, and resuming a WebSocket connection to the Discord Gateway. ```text GET /gateway (cache WSS URL) → Connect WebSocket (v=&encoding= query params) → Hello (op10): receive heartbeat_interval → Heartbeat (op1): first after heartbeat_interval * jitter (jitter ∈ [0,1]), then every heartbeat_interval ms → Identify (op2): token + intents + properties → Ready (op0): session_id, resume_gateway_url, guilds (initially unavailable) → Dispatch events (op0) ... → Disconnect: Can resume: connect to resume_gateway_url → Resume (op6: token, session_id, seq) Cannot resume / resume fails: connect to cached WSS URL → re-Identify ``` -------------------------------- ### Subscription API Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for retrieving subscription information for SKUs. ```APIDOC ## GET /skus/{id}/subscriptions ### Description Retrieves subscriptions for a specific SKU. ### Method GET ### Endpoint /skus/{id}/subscriptions ## GET /skus/{id}/subscriptions/{subscription_id} ### Description Retrieves a specific subscription by ID. ### Method GET ### Endpoint /skus/{id}/subscriptions/{subscription_id} ``` -------------------------------- ### Configure C++ Standard in CMake Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-core/tests/scenarios.md Set the required C++20 standard for projects using Social SDK release 1.9 or later. ```cmake set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED True) ``` -------------------------------- ### Invite Endpoints Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing guild and application invites. ```APIDOC ## GET /invites/{code} ## DELETE /invites/{code} ## GET /invites/{code}/target-users ## PUT /invites/{code}/target-users ## GET /invites/{code}/target-users/job-status ### Description Manage invites, including retrieving details, deleting invites, and managing target users via async file uploads. ``` -------------------------------- ### RPC Handshake Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-topics/SKILL.md Initiate a connection to the Discord RPC server via IPC using the HANDSHAKE opcode. ```APIDOC ## RPC Handshake ### Description Establishes a connection to the Discord RPC server over a named pipe or Unix socket. ### Method FRAME (Opcode 1) after initial HANDSHAKE (Opcode 0) ### Request Body - **v** (integer) - Required - Protocol version (e.g., 1) - **client_id** (string) - Required - Your application's client ID ### Request Example { "v": 1, "client_id": "YOUR_CLIENT_ID" } ``` -------------------------------- ### User API Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing user profiles, connections, and guild memberships. ```APIDOC ## GET /users/@me ### Description Retrieves the current user's profile. ### Method GET ### Endpoint /users/@me ## GET /users/{id} ### Description Retrieves a user by ID. ### Method GET ### Endpoint /users/{id} ## PATCH /users/@me ### Description Updates the current user's profile. ### Method PATCH ### Endpoint /users/@me ## GET /users/@me/guilds ### Description Retrieves the current user's guilds. ### Method GET ### Endpoint /users/@me/guilds ## POST /users/@me/channels ### Description Creates a DM channel. ### Method POST ### Endpoint /users/@me/channels ``` -------------------------------- ### Share Moment API Usage Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/tests/scenarios.md Utilize the attachment API to generate a Discord CDN URL for sharing moments, ensuring the URL is passed to the openShareMomentDialog command. ```http POST /api/applications/{appId}/attachment ``` -------------------------------- ### Entitlement Management Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing application entitlements and consumption. ```APIDOC ## GET /applications/{id}/entitlements ## GET /applications/{id}/entitlements/{entitlement_id} ## POST /applications/{id}/entitlements/{entitlement_id}/consume ## POST /applications/{id}/entitlements ## DELETE /applications/{id}/entitlements/{entitlement_id} ``` -------------------------------- ### List sticker packs Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/tests/scenarios.md Retrieves all available sticker packs. ```http GET /sticker-packs ``` -------------------------------- ### POST /partner-sdk/child-token Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Exchanges a parent access token for a child application token. ```APIDOC ## POST /partner-sdk/child-token ### Description Exchanges a parent (publisher) access token for a child application token to enable SDK connectivity for a specific game. ### Method POST ### Endpoint /partner-sdk/child-token ### Request Body - **parent_access_token** (string) - Required - The access token from the publisher app. - **child_application_id** (string) - Required - The ID of the child game application. - **parent_client_secret** (string) - Required - The client secret of the publisher app. ``` -------------------------------- ### Set Authorization Header for Bot Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-foundations/tests/scenarios.md Use this format for requests authenticated as a bot user. ```http Authorization: Bot abc123 ``` -------------------------------- ### Autocomplete Interaction Response Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-bots-interactions/tests/scenarios.md Respond to an APPLICATION_COMMAND_AUTOCOMPLETE interaction with a list of choices. Ensure the command option is registered with autocomplete enabled and limit results to 25 choices. ```json { "type": 8, "data": { "choices": [ {"name": "Result 1", "value": "result_1"}, {"name": "Result 2", "value": "result_2"} ] } } ``` -------------------------------- ### Application Role Connection Metadata Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing application role connection metadata. ```APIDOC ## GET /applications/{id}/role-connections/metadata ### Description Retrieves the role connection metadata for an application. ### Method GET ### Endpoint /applications/{id}/role-connections/metadata ## PUT /applications/{id}/role-connections/metadata ### Description Replaces the entire list of role connection metadata for an application. ### Method PUT ### Endpoint /applications/{id}/role-connections/metadata ``` -------------------------------- ### Webhook Management Endpoints Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md A collection of endpoints for managing and executing Discord webhooks. ```APIDOC ## [POST] /channels/{id}/webhooks ### Description Create a new webhook in a channel. ### Method POST ### Endpoint /channels/{id}/webhooks ### Request Body - **name** (string) - Required - 1-80 chars, no "clyde"/"discord" substring - **avatar** (image data) - Optional --- ## [POST] /webhooks/{id}/{token} ### Description Execute a webhook to send a message. ### Method POST ### Endpoint /webhooks/{id}/{token} ### Query Parameters - **wait** (bool) - Optional - Set to true to receive the created message object - **thread_id** (string) - Optional - **with_components** (bool) - Optional ### Request Body - **content** (string) - Optional - Max 2000 chars - **embeds** (array) - Optional - Max 10 - **files[n]** (file) - Optional - **poll** (object) - Optional - **username** (string) - Optional - **avatar_url** (string) - Optional - **tts** (bool) - Optional - **allowed_mentions** (object) - Optional - **components** (array) - Optional - **flags** (integer) - Optional - **thread_name** (string) - Optional - **applied_tags** (array) - Optional --- ## [PATCH] /webhooks/{id} ### Description Modify an existing webhook. ### Method PATCH ### Endpoint /webhooks/{id} ### Request Body - **name** (string) - Optional - **avatar** (image data) - Optional - **channel_id** (string) - Optional --- ## [DELETE] /webhooks/{id} ### Description Delete a webhook. ### Method DELETE ### Endpoint /webhooks/{id} ``` -------------------------------- ### Open Modal JSON Response Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-bots-interactions/tests/scenarios.md Use callback type 9 to open a modal. Components must be wrapped in a Label (type 18) rather than an Action Row. ```json { "type": 9, "data": { "custom_id": "bug_modal", "title": "Bug Report", "components": [ { "type": 18, "label": "Bug Type", "component": { "type": 3, "custom_id": "bug_type", "placeholder": "Choose...", "options": [ {"label": "UI Bug", "value": "ui"}, {"label": "Crash", "value": "crash"} ] } }, { "type": 18, "label": "Description", "component": { "type": 4, "custom_id": "bug_desc", "style": 2, "max_length": 4000, "required": true } } ] } } ``` -------------------------------- ### shareLink({message, custom_id}) Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/SKILL.md Client-side SDK method to open the Discord share dialog with tracking capabilities. ```APIDOC ## shareLink({message, custom_id}) ### Description Opens the native Discord share dialog, allowing users to share the activity with tracking via custom_id. ### Parameters - **message** (string) - Optional - The message to include in the share dialog. - **custom_id** (string) - Optional - A custom identifier used for tracking purposes. ``` -------------------------------- ### Send a Message with V2 Components Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-bots-interactions/tests/scenarios.md Defines the JSON structure for a message using V2 components, including a text display and action row with buttons. Requires the IS_COMPONENTS_V2 flag (32768) to be set. ```json { "flags": 32768, "components": [ { "type": 10, "content": "Choose an option" }, { "type": 1, "components": [ { "type": 2, "custom_id": "confirm_btn", "label": "Confirm", "style": 3 }, { "type": 2, "custom_id": "cancel_btn", "label": "Cancel", "style": 4 } ] } ] } ``` -------------------------------- ### Voice API Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing voice regions and voice states. ```APIDOC ## GET /voice/regions ### Description Retrieves available voice regions. ### Method GET ### Endpoint /voice/regions ## GET /guilds/{id}/voice-states/@me ### Description Retrieves the current user's voice state in a guild. ### Method GET ### Endpoint /guilds/{id}/voice-states/@me ## PATCH /guilds/{id}/voice-states/@me ### Description Updates the current user's voice state. ### Method PATCH ### Endpoint /guilds/{id}/voice-states/@me ``` -------------------------------- ### Relationship Management Methods Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Methods for managing game and Discord friends, including sending requests, blocking, and unblocking users. ```APIDOC ## Relationship Management Methods ### Description Methods to manage social relationships. All actions must be performed in response to explicit user interaction. ### Methods - `SendGameFriendRequest(username)` / `SendGameFriendRequestById(userId)` - `SendDiscordFriendRequest(username)` / `SendDiscordFriendRequestById(userId)` - `AcceptGameFriendRequest(userId)` / `AcceptDiscordFriendRequest(userId)` - `RejectGameFriendRequest(userId)` / `RejectDiscordFriendRequest(userId)` - `CancelGameFriendRequest(userId)` / `CancelDiscordFriendRequest(userId)` - `RemoveGameFriend(userId)` / `RemoveDiscordAndGameFriend(userId)` - `BlockUser(userId)` - `UnblockUser(userId)` ``` -------------------------------- ### Sticker API Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing stickers, sticker packs, and guild-specific stickers. ```APIDOC ## GET /stickers/{id} ### Description Retrieves a sticker by ID. ### Method GET ### Endpoint /stickers/{id} ## GET /sticker-packs ### Description Retrieves all sticker packs. ### Method GET ### Endpoint /sticker-packs ## GET /sticker-packs/{pack_id} ### Description Retrieves a specific sticker pack by ID. ### Method GET ### Endpoint /sticker-packs/{pack_id} ## GET /guilds/{id}/stickers ### Description Retrieves all stickers for a specific guild. ### Method GET ### Endpoint /guilds/{id}/stickers ## POST /guilds/{id}/stickers ### Description Creates a new sticker in a guild. ### Method POST ### Endpoint /guilds/{id}/stickers ## PATCH /guilds/{id}/stickers/{sticker_id} ### Description Updates a guild sticker. ### Method PATCH ### Endpoint /guilds/{id}/stickers/{sticker_id} ## DELETE /guilds/{id}/stickers/{sticker_id} ### Description Deletes a guild sticker. ### Method DELETE ### Endpoint /guilds/{id}/stickers/{sticker_id} ``` -------------------------------- ### Guild Management Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing guilds, members, roles, and guild-specific settings. ```APIDOC ## POST /guilds ## GET /guilds/{id} ## GET /guilds/{id}/preview ## PATCH /guilds/{id} ## DELETE /guilds/{id} ## GET /guilds/{id}/channels ## POST /guilds/{id}/channels ## PATCH /guilds/{id}/channels ## GET /guilds/{id}/members/{user_id} ## GET /guilds/{id}/members ## GET /guilds/{id}/members/search ## PATCH /guilds/{id}/members/@me ## PATCH /guilds/{id}/members/{user_id} ## PUT/DELETE /guilds/{id}/members/{user_id}/roles/{role_id} ## DELETE /guilds/{id}/members/{user_id} ## GET /guilds/{id}/bans ## GET /guilds/{id}/bans/{user_id} ## PUT /guilds/{id}/bans/{user_id} ## DELETE /guilds/{id}/bans/{user_id} ## GET/POST/PATCH/DELETE /guilds/{id}/roles ## GET /guilds/{id}/prune ## POST /guilds/{id}/prune ## GET /guilds/{id}/integrations ## DELETE /guilds/{id}/integrations/{integration_id} ## GET/PATCH /guilds/{id}/widget ## GET /guilds/{id}/widget.json ## GET/PATCH /guilds/{id}/vanity-url ## GET /guilds/{id}/widget.png ## GET/PATCH /guilds/{id}/welcome-screen ## GET/PUT /guilds/{id}/onboarding ## PATCH /guilds/{id}/voice-states/@me ## PATCH /guilds/{id}/voice-states/{user_id} ``` -------------------------------- ### Incorrect multipart upload attempt Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/tests/baseline.md Demonstrates an invalid attempt to send file data as a JSON body instead of using multipart/form-data. ```javascript fetch("/channels/123/messages", { body: JSON.stringify({ content: "hello", file: base64data }) }) ``` -------------------------------- ### RPC Authentication Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-topics/SKILL.md Authenticates the RPC session using an OAuth2 access token. ```APIDOC ## RPC AUTHENTICATE ### Description Authenticates the current RPC session using an access token obtained via the OAuth2 flow. ### Request Body - **cmd** (string) - Required - "AUTHENTICATE" - **args** (object) - Required - Contains "access_token" ``` -------------------------------- ### Guild Template Endpoints Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing guild templates. ```APIDOC ## GET /guilds/templates/{code} ## GET /guilds/{id}/templates ## POST /guilds/{id}/templates ## PUT /guilds/{id}/templates/{code} ## PATCH /guilds/{id}/templates/{code} ## DELETE /guilds/{id}/templates/{code} ## POST /guilds/templates/{code} ### Description Perform CRUD operations on guild templates and create new guilds from existing templates. Requires `MANAGE_GUILD` permission. ``` -------------------------------- ### POST /channels/{id}/messages Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Create a new message in a channel. ```APIDOC ## POST /channels/{id}/messages ### Description Create a new message in a channel. ### Method POST ### Endpoint /channels/{id}/messages ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the channel. #### Request Body - **content** (string) - Optional - Message content (≤2000 chars) - **embeds** (array) - Optional - Message embeds (≤10) - **sticker_ids** (array) - Optional - Sticker IDs (≤3) ``` -------------------------------- ### Link Button Component Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-bots-interactions/tests/scenarios.md Define a button with style 5 to link to an external URL. Link buttons do not trigger interactions and must not include a custom_id. ```json { "type": 2, "label": "Visit Website", "style": 5, "url": "https://example.com" } ``` -------------------------------- ### Application Endpoints Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for retrieving and updating application information. ```APIDOC ## GET /applications/{id} ### Description Retrieves information about a specific application. ### Method GET ### Endpoint /applications/{id} ## PATCH /applications/{id} ### Description Updates information for a specific application. ### Method PATCH ### Endpoint /applications/{id} ``` -------------------------------- ### Ephemeral Command Response JSON Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-bots-interactions/tests/scenarios.md Use callback type 4 with the EPHEMERAL flag (64) to ensure the response is only visible to the invoking user. This must be set on the initial response. ```json { "type": 4, "data": { "content": "This is only visible to you", "flags": 64 } } ``` -------------------------------- ### Implement Heartbeat Jitter Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-gateway-events/tests/baseline.md Apply a random jitter factor to the heartbeat interval to prevent thundering-herd connection issues. ```javascript delay = heartbeat_interval * Math.random() ``` -------------------------------- ### Client::UpdateRichPresence Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Updates the user's rich presence status on Discord. ```APIDOC ## Client::UpdateRichPresence(activity, callback) ### Description Uploads the current rich presence state to Discord. ### Parameters - **activity** (object) - Required - The activity object containing details, state, party, timestamps, assets, and secrets. - **callback** (function) - Required - Callback function to handle the result of the update. ``` -------------------------------- ### Calculate Intent Bitfields Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-gateway-events/tests/baseline.md Use bitwise OR operations with bit-shifted values instead of adding intent indices. ```javascript intents = (1 << 0) | (1 << 9) | (1 << 10) ``` -------------------------------- ### Manage lobby members in bulk Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/tests/scenarios.md Requires a Bearer token. Limited to a maximum of 25 members per request. ```http POST /lobbies/L123/members/bulk [{id:"u1",metadata:{team:"red"}},{id:"u2"},{id:"u3",remove_member:true}] ``` -------------------------------- ### Premium Button Component Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-monetization/SKILL.md A message component button used to trigger the premium purchase flow for a specific SKU. ```js { type: 2, style: 6, sku_id: '1234965026943668316' } ``` -------------------------------- ### POST /oauth2/token Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Exchanges an authorization code or refresh token for an access token. ```APIDOC ## POST /oauth2/token ### Description Exchanges an authorization code or refresh token for an access token. This is used for server-side token management. ### Method POST ### Endpoint /oauth2/token ### Parameters #### Request Body - **grant_type** (string) - Required - The type of grant (e.g., authorization_code, refresh_token, urn:ietf:params:oauth:grant-type:device_code) - **code** (string) - Optional - The authorization code received from the redirect - **redirect_uri** (string) - Optional - The redirect URI used in the initial request - **code_verifier** (string) - Optional - The PKCE code verifier - **refresh_token** (string) - Optional - The refresh token to exchange ``` -------------------------------- ### Client::SendUserMessage Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Sends a direct message to a specific user. ```APIDOC ## Client::SendUserMessage(recipientId, message) ### Description Sends a message to the specified recipient. ### Parameters - **recipientId** (string) - Required - The ID of the user to receive the message. - **message** (string) - Required - The content of the message. ``` -------------------------------- ### Define Multipart Upload Content-Type Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-foundations/tests/scenarios.md Required request configuration for sending messages with file attachments. ```text multipart/form-data with payload_json form field containing the message JSON and files[0] for the image. ``` -------------------------------- ### Channel Select Menu JSON Structure Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-bots-interactions/tests/scenarios.md Defines a channel select dropdown component within an action row. Requires a custom_id and uses component type 8. ```json { "flags": 32768, "components": [ { "type": 1, "components": [ { "type": 8, "custom_id": "channel_picker", "placeholder": "Select a channel" } ] } ] } ``` -------------------------------- ### Lobby Endpoints Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing lobbies and lobby members. ```APIDOC ## POST /lobbies ## PUT /lobbies ## GET /lobbies/{id} ## PATCH /lobbies/{id} ## DELETE /lobbies/{id} ## PUT /lobbies/{id}/members/{user_id} ## POST /lobbies/{id}/members/bulk ## DELETE /lobbies/{id}/members/{user_id} ## DELETE /lobbies/{id}/members/@me ## PATCH /lobbies/{id}/channel-linking ## POST /lobbies/{id}/messages ## GET /lobbies/{id}/messages ## POST /lobbies/{id}/channel-invites ## POST /lobbies/{id}/channel-invites/{user_id} ### Description Manage lobby state, members, messages, and linked-channel invites. ``` -------------------------------- ### Send a forwarded message Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/tests/scenarios.md Requires VIEW_CHANNEL on the source channel. The forwarded message includes an immutable message_snapshots array. ```http POST /channels/ch333/messages {"message_reference":{"type":1,"message_id":"msg111","channel_id":"ch222"}} ``` -------------------------------- ### Guild Scheduled Event Endpoints Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing scheduled events within a guild. ```APIDOC ## GET /guilds/{id}/scheduled-events ## POST /guilds/{id}/scheduled-events ## GET /guilds/{id}/scheduled-events/{event_id} ## PATCH /guilds/{id}/scheduled-events/{event_id} ## DELETE /guilds/{id}/scheduled-events/{event_id} ## GET /guilds/{id}/scheduled-events/{event_id}/users ### Description Manage guild scheduled events, including creation, retrieval, updates, and deletion. The users endpoint supports the `with_member` query parameter. ``` -------------------------------- ### POST /api/oauth2/token Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-topics/SKILL.md Exchanges an authorization code for an access token or refreshes an existing access token. ```APIDOC ## POST /api/oauth2/token ### Description Exchanges an authorization code for an access token or refreshes an existing access token. This endpoint requires application/x-www-form-urlencoded content type. ### Method POST ### Endpoint https://discord.com/api/oauth2/token ### Request Body - **grant_type** (string) - Required - The type of grant (e.g., authorization_code or refresh_token) - **code** (string) - Optional - The authorization code (required for authorization_code grant) - **refresh_token** (string) - Optional - The refresh token (required for refresh_token grant) - **redirect_uri** (string) - Optional - The registered redirect URI - **client_id** (string) - Optional - The application client ID - **client_secret** (string) - Optional - The application client secret ``` -------------------------------- ### Emoji Management Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing custom emojis within guilds and applications. ```APIDOC ## GET /guilds/{id}/emojis ## GET /guilds/{id}/emojis/{emoji_id} ## POST /guilds/{id}/emojis ## PATCH /guilds/{id}/emojis/{emoji_id} ## DELETE /guilds/{id}/emojis/{emoji_id} ## GET /applications/{id}/emojis ## GET /applications/{id}/emojis/{emoji_id} ## POST /applications/{id}/emojis ## PATCH /applications/{id}/emojis/{emoji_id} ## DELETE /applications/{id}/emojis/{emoji_id} ``` -------------------------------- ### Set Authorization Header for OAuth2 Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-foundations/tests/scenarios.md Use this format for requests authenticated via OAuth2 tokens. ```http Authorization: Bearer xyz789 ``` -------------------------------- ### Disable SDK Logging Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-activities/tests/scenarios.md Use this configuration to prevent the SDK from overriding console logs during development. ```javascript new DiscordSDK(clientId, {disableConsoleLogOverride: true}) ``` ```javascript captureLog({level, message}) ``` -------------------------------- ### Audit Log Endpoints Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoint for retrieving guild audit logs. ```APIDOC ## GET /guilds/{id}/audit-logs ### Description Retrieves the audit log for a specific guild. Requires VIEW_AUDIT_LOG permission. ### Method GET ### Endpoint /guilds/{id}/audit-logs ``` -------------------------------- ### Auto Moderation Endpoints Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/SKILL.md Endpoints for managing auto-moderation rules within a guild. ```APIDOC ## GET /guilds/{id}/auto-moderation/rules ### Description Lists all auto-moderation rules for a guild. ### Method GET ### Endpoint /guilds/{id}/auto-moderation/rules ## POST /guilds/{id}/auto-moderation/rules ### Description Creates a new auto-moderation rule. ### Method POST ### Endpoint /guilds/{id}/auto-moderation/rules ## GET /guilds/{id}/auto-moderation/rules/{rule_id} ### Description Retrieves a specific auto-moderation rule. ### Method GET ### Endpoint /guilds/{id}/auto-moderation/rules/{rule_id} ## PATCH /guilds/{id}/auto-moderation/rules/{rule_id} ### Description Updates an existing auto-moderation rule. ### Method PATCH ### Endpoint /guilds/{id}/auto-moderation/rules/{rule_id} ## DELETE /guilds/{id}/auto-moderation/rules/{rule_id} ### Description Deletes an auto-moderation rule. ### Method DELETE ### Endpoint /guilds/{id}/auto-moderation/rules/{rule_id} ``` -------------------------------- ### POST /api/oauth2/token/revoke Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-topics/SKILL.md Revokes an access or refresh token. ```APIDOC ## POST /api/oauth2/token/revoke ### Description Revokes an access or refresh token. All active tokens for the authorization are revoked regardless of the hint. ### Method POST ### Endpoint https://discord.com/api/oauth2/token/revoke ### Request Body - **token** (string) - Required - The access or refresh token to revoke - **token_type_hint** (string) - Optional - Hint for the token type (access_token or refresh_token) ``` -------------------------------- ### POST /oauth2/token/revoke Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-social-sdk-dev/SKILL.md Revokes an existing access or refresh token. ```APIDOC ## POST /oauth2/token/revoke ### Description Invalidates an access or refresh token. ### Method POST ### Endpoint /oauth2/token/revoke ### Parameters #### Request Body - **token** (string) - Required - The token to be revoked ``` -------------------------------- ### Resume Gateway Payload Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-gateway-events/tests/scenarios.md The JSON payload required to resume a session after a disconnect, using the cached session ID and sequence number. ```json {"op": 6, "d": {"token": "...", "session_id": "...", "seq": 1337}} ``` -------------------------------- ### Update Voice State Gateway Payload Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-gateway-events/tests/scenarios.md Payload required to disconnect a bot from a voice channel by setting channel_id to null. ```json {"op": 4, "d": {"guild_id": "41771983423143937", "channel_id": null, "self_mute": false, "self_deaf": false}} ``` -------------------------------- ### Modify a user's guild member attributes Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/tests/scenarios.md Requires MODERATE_MEMBERS permission. Set communication_disabled_until to null to remove a timeout. ```http PATCH /guilds/g888/members/u999 {"communication_disabled_until":"2026-08-05T12:10:00Z"} ``` -------------------------------- ### Delete all reactions of a specific emoji Source: https://github.com/0xabadbabe-ops/discord-jet-skills/blob/master/skills/discord-api-resources/tests/scenarios.md Requires MANAGE_MESSAGES permission. Use URL-encoded unicode or custom emoji format. ```http DELETE /channels/ch222/messages/msg111/reactions/%F0%9F%94%A5 ``` ```http DELETE /channels/ch222/messages/msg111/reactions/emoji_name%3Aemoji_id ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.