Skip to main content

CreateGuildChannel

@discordeno/bot


Documentation / @discordeno/bot / CreateGuildChannel

Interface: CreateGuildChannel

Defined in: packages/types/dist/types/discordeno.d.ts:498

Properties

availableTags?

optional availableTags: object[]

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

Set of tags that can be used in a forum channel

emojiId

emojiId: BigString

The id of a guild's custom emoji

emojiName?

optional emojiName: string

The unicode character of the emoji

id

id: BigString

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/discordeno.d.ts:506

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


defaultAutoArchiveDuration?

optional defaultAutoArchiveDuration: number

Defined in: packages/types/dist/types/discordeno.d.ts:520

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


defaultReactionEmoji?

optional defaultReactionEmoji: object

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

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.


defaultSortOrder?

optional defaultSortOrder: null | SortOrderTypes

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

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


defaultThreadRateLimitPerUser?

optional defaultThreadRateLimitPerUser: number

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

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


name

name: string

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

Channel name (1-100 characters)


nsfw?

optional nsfw: boolean

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

Whether the channel is nsfw


parentId?

optional parentId: BigString

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

Id of the parent category for a channel


permissionOverwrites?

optional permissionOverwrites: OverwriteReadable[]

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

The channel's permission overwrites


position?

optional position: number

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

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


rateLimitPerUser?

optional rateLimitPerUser: number

Defined in: packages/types/dist/types/discordeno.d.ts:510

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/discordeno.d.ts:504

Channel topic (0-1024 characters)


type?

optional type: ChannelTypes

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

The type of channel


userLimit?

optional userLimit: number

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

The user limit of the voice channel (voice only)