Skip to main content

DiscordCreateGuildChannel

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordCreateGuildChannel

Interface: DiscordCreateGuildChannel

Properties

available_tags?

optional available_tags: object[]

Set of tags that can be used in a forum channel

Defined in

packages/types/dist/types/discord.d.ts:3168


bitrate?

optional bitrate: number

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

Defined in

packages/types/dist/types/discord.d.ts:3145


default_auto_archive_duration?

optional default_auto_archive_duration: number

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

Defined in

packages/types/dist/types/discord.d.ts:3159


default_reaction_emoji?

optional default_reaction_emoji: object

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.

Defined in

packages/types/dist/types/discord.d.ts:3161


default_sort_order?

optional default_sort_order: null | SortOrderTypes

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

Defined in

packages/types/dist/types/discord.d.ts:3181


name

name: string

Channel name (1-100 characters)

Defined in

packages/types/dist/types/discord.d.ts:3139


nsfw?

optional nsfw: boolean

Whether the channel is nsfw

Defined in

packages/types/dist/types/discord.d.ts:3157


parent_id?

optional parent_id: string

Id of the parent category for a channel

Defined in

packages/types/dist/types/discord.d.ts:3155


permission_overwrites?

optional permission_overwrites: DiscordOverwrite[]

The channel's permission overwrites

Defined in

packages/types/dist/types/discord.d.ts:3153


position?

optional position: number

Sorting position of the channel

Defined in

packages/types/dist/types/discord.d.ts:3151


rate_limit_per_user?

optional rate_limit_per_user: number

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

Defined in

packages/types/dist/types/discord.d.ts:3149


topic?

optional topic: string

Channel topic (0-1024 characters)

Defined in

packages/types/dist/types/discord.d.ts:3143


type?

optional type: ChannelTypes

The type of channel

Defined in

packages/types/dist/types/discord.d.ts:3141


user_limit?

optional user_limit: number

The user limit of the voice channel (voice only)

Defined in

packages/types/dist/types/discord.d.ts:3147