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

x/oasis/packages/deps.ts>CreateGuildChannel

An object oriented Discordeno framework
Latest
interface CreateGuildChannel
import { type CreateGuildChannel } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Properties

name: string

Channel name (1-100 characters)

optional
type: ChannelTypes

The type of channel

optional
topic: string

Channel topic (0-1024 characters)

optional
bitrate: number

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

optional
userLimit: number

The user limit of the voice channel (voice only)

optional
rateLimitPerUser: 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

optional
position: number

Sorting position of the channel

optional
permissionOverwrites: OverwriteReadable[]

The channel's permission overwrites

optional
parentId: bigint

Id of the parent category for a channel

optional
nsfw: boolean

Whether the channel is nsfw

optional
defaultAutoArchiveDuration: number

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