Skip to content

Creating a forum with tags doesn't workΒ #1482

@Jforjo

Description

@Jforjo

Issue description

Try to create a forum with available_tags and TypeScript will complain saying that you're missing the 'id' even though you don't require an ID to create a tag as Discord generates the ID for you (it's a Snowflake).

Code sample

# Minimal

available_tags: [
    {
        name: "test",
        moderated: false,
        emoji_name: "πŸŽ‰",
    }
]

It's using `RESTPostAPIGuildChannelJSONBody` for the body JSON and `ChannelType.GuildForum` as the channel type.
The types should realise that the ID isn't needed in the API.

Package version

discord-api-types@0.38.4

Runtime

Node.js

Runtime version

v24.2.0

Priority this issue should have

High (immediate attention needed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions