Represents any channel type on Discord.
Represents any channel type on Discord that exists within a discord.Guild.
Discord's unique identifier for this channel. This value never changes.
The type of channel this is. See discord.Channel.AnyChannel for a complete list of channel types.
Attempts to delete the channel.
If an error occurs, a discord.ApiError exception is thrown.
Generated using TypeDoc
Base channel class.
All channels have an
id
andtype
.Note: Pylon should never provide an instance of discord.Channel directly. You will always be given a more specific child class.
A channel can be type-refined by checking its discord.Channel.type type against discord.Channel.Type.