Skip to main content

DiscordModifyChannel

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordModifyChannel

Interface: DiscordModifyChannel

Properties

applied_tags?

optional applied_tags: string[]

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

Defined in

packages/types/dist/types/discord.d.ts:3106


archived?

optional archived: boolean

Whether the thread is archived

Defined in

packages/types/dist/types/discord.d.ts:3085


auto_archive_duration?

optional auto_archive_duration: 60 | 1440 | 4320 | 10080

Duration in minutes to automatically archive the thread after recent activity

Defined in

packages/types/dist/types/discord.d.ts:3087


available_tags?

optional available_tags: object[]

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

Defined in

packages/types/dist/types/discord.d.ts:3093


bitrate?

optional bitrate: null | number

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

Defined in

packages/types/dist/types/discord.d.ts:3073


default_forum_layout?

optional default_forum_layout: ForumLayout

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

Defined in

packages/types/dist/types/discord.d.ts:3119


default_reaction_emoji?

optional default_reaction_emoji: object

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

Defined in

packages/types/dist/types/discord.d.ts:3108


default_sort_order?

optional default_sort_order: null | SortOrderTypes

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

Defined in

packages/types/dist/types/discord.d.ts:3117


default_thread_rate_limit_per_user?

optional default_thread_rate_limit_per_user: number

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.

Defined in

packages/types/dist/types/discord.d.ts:3115


invitable?

optional invitable: boolean

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

Defined in

packages/types/dist/types/discord.d.ts:3091


locked?

optional locked: boolean

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

Defined in

packages/types/dist/types/discord.d.ts:3089


name?

optional name: string

1-100 character channel name

Defined in

packages/types/dist/types/discord.d.ts:3061


nsfw?

optional nsfw: null | boolean

Whether the channel is nsfw

Defined in

packages/types/dist/types/discord.d.ts:3069


parent_id?

optional parent_id: null | string

Id of the new parent category for a channel

Defined in

packages/types/dist/types/discord.d.ts:3079


permission_overwrites?

optional permission_overwrites: null | DiscordOverwrite[]

Channel or category-specific permissions

Defined in

packages/types/dist/types/discord.d.ts:3077


position?

optional position: null | number

The position of the channel in the left-hand listing

Defined in

packages/types/dist/types/discord.d.ts:3065


rate_limit_per_user?

optional rate_limit_per_user: null | 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/discord.d.ts:3071


rtc_region?

optional rtc_region: null | string

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

Defined in

packages/types/dist/types/discord.d.ts:3081


topic?

optional topic: null | string

0-1024 character channel topic

Defined in

packages/types/dist/types/discord.d.ts:3067


type?

optional type: ChannelTypes

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

Defined in

packages/types/dist/types/discord.d.ts:3063


user_limit?

optional user_limit: null | number

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

Defined in

packages/types/dist/types/discord.d.ts:3075


video_quality_mode?

optional video_quality_mode: VideoQualityModes

The camera video quality mode of the voice channel

Defined in

packages/types/dist/types/discord.d.ts:3083