Returns the amount of users in the channel
The amount of users in the channel
Client.channels.get('channel-id').getUserCount(); Copy
Client.channels.get('channel-id').getUserCount();
Returns if the bot is connected to the channel
True if the bot is connected to the channel, false if not
Client.channels.get('channel-id').isConnected(); Copy
Client.channels.get('channel-id').isConnected();
Leaves from the channel
Sends a message to the channel
The message to send
The options to send the message with - Like a console.log()
Client.channels.get('channel-id').send('Hello World!'); Copy
Client.channels.get('channel-id').send('Hello World!');
Returns the amount of users in the channel