CreateGuildChannel
Documentation / @discordeno/bot / CreateGuildChannel
Interface: CreateGuildChannel
Defined in: packages/types/dist/types/discordeno.d.ts:592
https://discord.com/developers/docs/resources/guild#create-guild-channel
Properties
availableTags?
optional
availableTags:object
[]
Defined in: packages/types/dist/types/discordeno.d.ts:623
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:600
The bitrate (in bits) of the voice channel (voice only)
defaultAutoArchiveDuration?
optional
defaultAutoArchiveDuration:number
Defined in: packages/types/dist/types/discordeno.d.ts:614
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:616
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:636
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:638
The initial ratelimit to set on newly created threads in a channel.
name
name:
string
Defined in: packages/types/dist/types/discordeno.d.ts:594
Channel name (1-100 characters)
nsfw?
optional
nsfw:boolean
Defined in: packages/types/dist/types/discordeno.d.ts:612
Whether the channel is nsfw
parentId?
optional
parentId:BigString
Defined in: packages/types/dist/types/discordeno.d.ts:610
Id of the parent category for a channel
permissionOverwrites?
optional
permissionOverwrites:OverwriteReadable
[]
Defined in: packages/types/dist/types/discordeno.d.ts:608
The channel's permission overwrites
position?
optional
position:number
Defined in: packages/types/dist/types/discordeno.d.ts:606
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:604
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:598
Channel topic (0-1024 characters)
type?
optional
type:ChannelTypes
Defined in: packages/types/dist/types/discordeno.d.ts:596
The type of channel
userLimit?
optional
userLimit:number
Defined in: packages/types/dist/types/discordeno.d.ts:602
The user limit of the voice channel (voice only)