Channel

The 'Channel' component is a 'GuildChannel' component as for now. This can change in the future by moving some data into an extension of 'Channel'.

Properties

Constructor

new Channel(rawData, client)

Do not use this constructor unless you know what you're doing. This constructor is used to return you rawdata into component.

Methods

createMessage(options)

Create a message in the channel.

Returns: Promise<Message>

edit(options)

Update the channel.

Returns: Promise<Channel>

delete()

Delete the channel.

Returns: Promise<void>

Last updated