Skip to main content

CreateGuildChannel

@discordeno/botDocs


Documentation / @discordeno/bot / CreateGuildChannel

Interface: CreateGuildChannel

Properties

availableTags?

optional availableTags: object[]

Set of tags that can be used in a forum channel

Defined in

packages/types/dist/types/discordeno.d.ts:529


bitrate?

optional bitrate: number

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

Defined in

packages/types/dist/types/discordeno.d.ts:506


defaultAutoArchiveDuration?

optional defaultAutoArchiveDuration: 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/discordeno.d.ts:520


defaultReactionEmoji?

optional defaultReactionEmoji: object

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

emojiId?

optional emojiId: null | BigString

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

emojiName?

optional emojiName: null | string

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

Defined in

packages/types/dist/types/discordeno.d.ts:522


defaultSortOrder?

optional defaultSortOrder: null | SortOrderTypes

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

Defined in

packages/types/dist/types/discordeno.d.ts:542


defaultThreadRateLimitPerUser?

optional defaultThreadRateLimitPerUser: number

The initial ratelimit to set on newly created threads in a channel.

Defined in

packages/types/dist/types/discordeno.d.ts:544


name

name: string

Channel name (1-100 characters)

Defined in

packages/types/dist/types/discordeno.d.ts:500


nsfw?

optional nsfw: boolean

Whether the channel is nsfw

Defined in

packages/types/dist/types/discordeno.d.ts:518


parentId?

optional parentId: BigString

Id of the parent category for a channel

Defined in

packages/types/dist/types/discordeno.d.ts:516


permissionOverwrites?

optional permissionOverwrites: OverwriteReadable[]

The channel's permission overwrites

Defined in

packages/types/dist/types/discordeno.d.ts:514


position?

optional position: number

Sorting position of the channel (channels with the same position are sorted by id)

Defined in

packages/types/dist/types/discordeno.d.ts:512


rateLimitPerUser?

optional rateLimitPerUser: 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/discordeno.d.ts:510


topic?

optional topic: string

Channel topic (0-1024 characters)

Defined in

packages/types/dist/types/discordeno.d.ts:504


type?

optional type: ChannelTypes

The type of channel

Defined in

packages/types/dist/types/discordeno.d.ts:502


userLimit?

optional userLimit: number

The user limit of the voice channel (voice only)

Defined in

packages/types/dist/types/discordeno.d.ts:508