commands_get_guild
commands_get_guild
Section titled “commands_get_guild”Category: commands
Fetch one guild-scoped command by id.
When to use
Section titled “When to use”When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
application_id | string | yes | Bot/app application ID |
guild_id | string | yes | Guild scope |
command_id | string | yes | Command ID (snowflake) |
Returns
Section titled “Returns”\{id, name, description, type, application_id, guild_id, untrusted_text\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
application_id | string | yes | |
guild_id | string | yes | |
name | string | yes | |
description | string | yes | |
type | integer | yes | |
untrusted_text | string | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |