Skip to main content

CreateGuildChannel

@discordeno/bot


Documentation / @discordeno/bot / CreateGuildChannel

Interface: CreateGuildChannel

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

https://discord.com/developers/docs/topics/gateway#request-guild-members

Properties

availableTags?

optional availableTags: object[]

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

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:519

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


defaultAutoArchiveDuration?

optional defaultAutoArchiveDuration: number

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

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:535

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:555

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:557

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


name

name: string

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

Channel name (1-100 characters)


nsfw?

optional nsfw: boolean

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

Whether the channel is nsfw


parentId?

optional parentId: BigString

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

Id of the parent category for a channel


permissionOverwrites?

optional permissionOverwrites: OverwriteReadable[]

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

The channel's permission overwrites


position?

optional position: number

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

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:523

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:517

Channel topic (0-1024 characters)


type?

optional type: ChannelTypes

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

The type of channel


userLimit?

optional userLimit: number

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

The user limit of the voice channel (voice only)