Returns the id of a channel.
Checks if the channel is a of type 'DM'
boolean
Checks if the channel is nsfw or not.
boolean
Returns the name of the channel
If a channel is in a category, it will have a parent id. This function will return that id
Returns the channel permissions
The position of the channel in the guild.
This property is only for voice channels
Fetch Messages from a channel.
the amount of messages to fetch. defaults to 50.
a map of messages from the channel.
Returns the id of a pined message
A function to send data to a channel. Works with embeds and normal text messages.
! WARNING: This method is not recommend to be used
Allows the API to fetch all base channel information.
the ID of the channel.
by default we search the bot cache only, but if forced = true it will search the discord api if no channel is in the cache.
fuwa.js#Channel
The base Channel class to interact with discord's api.
1.0.0