Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>ModifyChannel

A powerful and customizable framework for Discordeno
Latest
interface ModifyChannel
Re-export
import { type ModifyChannel } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

optional
name: string

1-100 character channel name

optional
type: ChannelTypes

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

optional
position: number | null

The position of the channel in the left-hand listing

optional
topic: string | null

0-1024 character channel topic

optional
nsfw: boolean | null

Whether the channel is nsfw

optional
rateLimitPerUser: number | null

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

optional
bitrate: number | null

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

optional
userLimit: number | null

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

optional
permissionOverwrites: Overwrite[] | null

Channel or category-specific permissions

optional
parentId: bigint | null

Id of the new parent category for a channel

optional
rtcRegion: string | null

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

optional
videoQualityMode: VideoQualityModes

The camera video quality mode of the voice channel

optional
archived: boolean

Whether the thread is archived

optional
autoArchiveDuration:
| 60
| 1440
| 4320
| 10080

Duration in minutes to automatically archive the thread after recent activity

optional
locked: boolean

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

optional
invitable: boolean

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