reactions_create
reactions_create
Section titled “reactions_create”Category: reactions
Add the bot’s own reaction to a message.
When to use
Section titled “When to use”- Acknowledge a message; signal a vote/poll preference; quick affirmation.
When NOT to use
Section titled “When NOT to use”- Reacting on behalf of another user — not possible via REST.
| Field | Type | Required | Description |
|---|---|---|---|
channel_id | string | yes | Channel containing the message |
message_id | string | yes | Message to react to |
emoji | string | yes | Unicode emoji (e.g. ”👍”) or name:id for custom emoji |
Returns
Section titled “Returns”\{reacted, channel_id, message_id, emoji\}. emoji accepts unicode (e.g. "👍") OR name:id for custom emojis. URL-encoding is handled by @discordjs/rest.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
reacted | boolean | yes | |
channel_id | string | yes | Discord channel ID (snowflake) |
message_id | string | yes | Discord message ID |
emoji | string | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |