Class

VoiceChannel

A voice channel in a guild. Voice is text-capable on Fluxer.

Extends TextCapable(GuildChannel)

Constructor

new VoiceChannel(client: Client, data: APIChannel)
client
Client

Properties

NameTypeDescription
bitrate?number | nullVoice bitrate.
contentWarningLevel?number | nullContent warning level.
contentWarningText?string | nullCustom content warning text.
guildIdread-onlystringGuild ID. Voice channels always belong to a guild.
lastMessageId?string | nullID of the last message sent in this channel.
nsfw?booleanWhether this channel is marked as NSFW.
nsfwOverride?boolean | nullPer-channel NSFW override (null inherits).
rateLimitPerUser?numberSlowmode rate limit in seconds.
rtcRegion?string | nullRTC region override for this channel.
topic?string | nullChannel topic.
userLimit?number | nullMaximum number of users allowed.
voiceConnectionLimit?number | nullMax active voice connections per user.

Methods

.setSlowmode(seconds)

seconds: numberPromise<this>

Set slowmode (seconds between messages). Pass 0 to disable. Requires Manage Channels. Calls channel.edit with rateLimitPerUser.

await channel.setSlowmode(seconds);