Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about new tags when modifying a forum channel: only name is required #5458

Merged
merged 7 commits into from
Sep 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions docs/resources/Channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -562,13 +562,16 @@ An object that represents a tag that is able to be applied to a thread in a `GUI

###### Forum Tag Structure

Mateo-tem marked this conversation as resolved.
Show resolved Hide resolved
| Field | Type | Description |
| ---------- | ---------- | -------------------------------------------------------------------------------------------------------------- |
| id | snowflake | the id of the tag |
| name | string | the name of the tag (0-20 characters) |
| moderated | boolean | whether this tag can only be added to or removed from threads by a member with the `MANAGE_THREADS` permission |
| emoji_id | ?snowflake | the id of a guild's custom emoji \* |
| emoji_name | ?string | the unicode character of the emoji \* |
> info
> When updating a `GUILD_FORUM` channel, tag objects in `available_tags` only require the `name` field.

| Field | Type | Description |
| ---------- | --------- | -------------------------------------------------------------------------------------------------------------- |
| id | snowflake | the id of the tag |
| name | string | the name of the tag (0-20 characters) |
| moderated | boolean | whether this tag can only be added to or removed from threads by a member with the `MANAGE_THREADS` permission |
| emoji_id | snowflake | the id of a guild's custom emoji \* |
| emoji_name | ?string | the unicode character of the emoji \* |

\* At most one of `emoji_id` and `emoji_name` may be set.

Expand Down