Skip to main content

DiscordCreateGuildChannel

@discordeno/bot


Documentation / @discordeno/bot / DiscordCreateGuildChannel

Interface: DiscordCreateGuildChannel

Defined in: packages/types/dist/types/discord/guild.d.ts:586

https://discord.com/developers/docs/resources/guild#create-guild-channel-json-params

Properties

available_tags?

optional available_tags: object[]

Defined in: packages/types/dist/types/discord/guild.d.ts:617

Set of tags that can be used in a forum channel

emoji_id

emoji_id: string

The id of a guild's custom emoji

emoji_name?

optional emoji_name: string

The unicode character of the emoji

id

id: string

The id of the tag

moderated

moderated: boolean

whether this tag can only be added to or removed from threads by a member with the MANAGE_THREADS permission

name

name: string

The name of the tag (0-20 characters)


bitrate?

optional bitrate: number

Defined in: packages/types/dist/types/discord/guild.d.ts:594

The bitrate (in bits) of the voice channel (voice only)


default_auto_archive_duration?

optional default_auto_archive_duration: number

Defined in: packages/types/dist/types/discord/guild.d.ts:608

Default duration (in minutes) that clients (not the API) use for newly created threads in this channel, to determine when to automatically archive the thread after the last activity


default_reaction_emoji?

optional default_reaction_emoji: object

Defined in: packages/types/dist/types/discord/guild.d.ts:610

Emoji to show in the add reaction button on a thread in a forum channel

emoji_id?

optional emoji_id: null | string

The id of a guild's custom emoji. Exactly one of emojiId and emojiName must be set.

emoji_name?

optional emoji_name: null | string

The unicode character of the emoji. Exactly one of emojiId and emojiName must be set.


default_sort_order?

optional default_sort_order: null | SortOrderTypes

Defined in: packages/types/dist/types/discord/guild.d.ts:630

the default sort order type used to order posts in forum channels


name

name: string

Defined in: packages/types/dist/types/discord/guild.d.ts:588

Channel name (1-100 characters)


nsfw?

optional nsfw: boolean

Defined in: packages/types/dist/types/discord/guild.d.ts:606

Whether the channel is nsfw


parent_id?

optional parent_id: string

Defined in: packages/types/dist/types/discord/guild.d.ts:604

Id of the parent category for a channel


permission_overwrites?

optional permission_overwrites: DiscordOverwrite[]

Defined in: packages/types/dist/types/discord/guild.d.ts:602

The channel's permission overwrites


position?

optional position: number

Defined in: packages/types/dist/types/discord/guild.d.ts:600

Sorting position of the channel


rate_limit_per_user?

optional rate_limit_per_user: number

Defined in: packages/types/dist/types/discord/guild.d.ts:598

Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected


topic?

optional topic: string

Defined in: packages/types/dist/types/discord/guild.d.ts:592

Channel topic (0-1024 characters)


type?

optional type: ChannelTypes

Defined in: packages/types/dist/types/discord/guild.d.ts:590

The type of channel


user_limit?

optional user_limit: number

Defined in: packages/types/dist/types/discord/guild.d.ts:596

The user limit of the voice channel (voice only)