The available tags of the channel.
The bitrate of the channel.
Readonly
clientThe client associated with the channel.
Readonly
dataThe channel payload.
The default auto archive duration of the channel.
The default forum layout of the channel.
The default reaction emoji of the channel.
The default sort order of the channel.
The default thread rate limit per user of the channel.
Optional
flagsThe flags of the channel.
Optional
guildThe ID of the guild where the channel is located.
The ID of the channel.
The name of the channel.
Optional
nsfwIndicates whether the channel is NSFW.
The parent ID of the channel.
Optional
permission_The permission overwrites of the channel.
Optional
permissionsThe permissions manager of the channel.
The position of the channel.
The rate limit per user of the channel.
The RTC region of the channel.
The topic of the channel.
The type of the channel.
The user limit of the channel.
The video quality mode of the channel.
Clones the channel
const channel = client.channels.cache.get("766497696604487691")
channel.clone().then((result) => {
if(result?.error){
console.log(`Error :()`)
} else {
console.log(`Channel cloned successfully`)
}
})
The Channel Edit payload
Optional
reason: stringconst channel = client.channels.cache.get("766497696604487691")
channel.edit({ name: "hello" }).then((result) => {
if(result?.error){
console.log(`Error :()`)
} else {
console.log(`Channel edited successfully`)
}
})
Private
patchGenerated using TypeDoc
Represents a BaseChannel (for easier usage)
Param: data
The Channel payload
Param: client
The Client