channelUtil

Constructor

new channelUtil(channeldata, client, guildid)

Properties

id

The id of the channel - Click here to see how to get full channel object.

Returns - Number

client

The client the channel is in

Returns - Client

guild

The guild constructor of the guild

Returns - guildUtil

Methods

fetch()

Fetch the channel object for this channel

Returns - Promise<channel>

send(message)

Send a message to the current channel. This Function is ran in async.

Title

Required

Description

message

true

A string or an embed that will be sent

Returns - Message

Last updated