Skip to main content

DiscordModifyChannel

@discordeno/bot


Documentation / @discordeno/bot / DiscordModifyChannel

Interface: DiscordModifyChannel

Defined in: packages/types/dist/types/discord.d.ts:3062

Properties

applied_tags?

optional applied_tags: string[]

Defined in: packages/types/dist/types/discord.d.ts:3109

The IDs of the set of tags that have been applied to a thread in a GUILD_FORUM channel; limited to 5


archived?

optional archived: boolean

Defined in: packages/types/dist/types/discord.d.ts:3088

Whether the thread is archived


auto_archive_duration?

optional auto_archive_duration: 60 | 1440 | 4320 | 10080

Defined in: packages/types/dist/types/discord.d.ts:3090

Duration in minutes to automatically archive the thread after recent activity


available_tags?

optional available_tags: object[]

Defined in: packages/types/dist/types/discord.d.ts:3096

The set of tags that can be used in a GUILD_FORUM channel

emoji_id

emoji_id: string

The id of a guild's custom emoji At most one of emoji_id and emoji_name may be set.

emoji_name

emoji_name: string

The unicode character of the emoji

id

id: string

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: null | number

Defined in: packages/types/dist/types/discord.d.ts:3076

The bitrate (in bits) of the voice channel; 8000 to 96000 (128000 for VIP servers)


default_forum_layout?

optional default_forum_layout: ForumLayout

Defined in: packages/types/dist/types/discord.d.ts:3122

the default forum layout view used to display posts in GUILD_FORUM channels. Defaults to 0, which indicates a layout view has not been set by a channel admin


default_reaction_emoji?

optional default_reaction_emoji: object

Defined in: packages/types/dist/types/discord.d.ts:3111

the emoji to show in the add reaction button on a thread in a GUILD_FORUM channel

emoji_id

emoji_id: string

The id of a guild's custom emoji

emoji_name

emoji_name: null | string

The unicode character of the emoji


default_sort_order?

optional default_sort_order: null | SortOrderTypes

Defined in: packages/types/dist/types/discord.d.ts:3120

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


default_thread_rate_limit_per_user?

optional default_thread_rate_limit_per_user: number

Defined in: packages/types/dist/types/discord.d.ts:3118

the initial rate_limit_per_user to set on newly created threads in a channel. this field is copied to the thread at creation time and does not live update.


invitable?

optional invitable: boolean

Defined in: packages/types/dist/types/discord.d.ts:3094

whether non-moderators can add other non-moderators to a thread; only available on private threads


locked?

optional locked: boolean

Defined in: packages/types/dist/types/discord.d.ts:3092

When a thread is locked, only users with MANAGE_THREADS can unarchive it


name?

optional name: string

Defined in: packages/types/dist/types/discord.d.ts:3064

1-100 character channel name


nsfw?

optional nsfw: null | boolean

Defined in: packages/types/dist/types/discord.d.ts:3072

Whether the channel is nsfw


parent_id?

optional parent_id: null | string

Defined in: packages/types/dist/types/discord.d.ts:3082

Id of the new parent category for a channel


permission_overwrites?

optional permission_overwrites: null | DiscordOverwrite[]

Defined in: packages/types/dist/types/discord.d.ts:3080

Channel or category-specific permissions


position?

optional position: null | number

Defined in: packages/types/dist/types/discord.d.ts:3068

The position of the channel in the left-hand listing


rate_limit_per_user?

optional rate_limit_per_user: null | number

Defined in: packages/types/dist/types/discord.d.ts:3074

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


rtc_region?

optional rtc_region: null | string

Defined in: packages/types/dist/types/discord.d.ts:3084

Voice region id for the voice channel, automatic when set to null


topic?

optional topic: null | string

Defined in: packages/types/dist/types/discord.d.ts:3070

0-1024 character channel topic


type?

optional type: ChannelTypes

Defined in: packages/types/dist/types/discord.d.ts:3066

The type of channel; only conversion between text and news is supported and only in guilds with the "NEWS" feature


user_limit?

optional user_limit: null | number

Defined in: packages/types/dist/types/discord.d.ts:3078

The user limit of the voice channel; 0 refers to no limit, 1 to 99 refers to a user limit


video_quality_mode?

optional video_quality_mode: VideoQualityModes

Defined in: packages/types/dist/types/discord.d.ts:3086

The camera video quality mode of the voice channel