DiscordLua
discorddiscord
v1.2.4
Install

VoiceConnectionStatus

Enum
On this page

discord.VoiceConnectionStatus lists the named constants for this enumeration. Prefer these names over hardcoded literals.

Values

discord.VoiceConnectionStatus.Signalling
signalling
Signalling. Use the symbolic name in bot code rather than the raw value.
discord.VoiceConnectionStatus.Signaling
signalling
Signaling. Use the symbolic name in bot code rather than the raw value.
discord.VoiceConnectionStatus.Connecting
connecting
Connecting. Use the symbolic name in bot code rather than the raw value.
discord.VoiceConnectionStatus.Ready
ready
Ready. Use the symbolic name in bot code rather than the raw value.
discord.VoiceConnectionStatus.Disconnected
disconnected
Disconnected. Use the symbolic name in bot code rather than the raw value.
discord.VoiceConnectionStatus.Destroyed
destroyed
Destroyed. Use the symbolic name in bot code rather than the raw value.

Usage

Read members as discord.VoiceConnectionStatus.Name. Do not hard-code numeric literals when a symbolic name exists.

Example

lua
local discord = require("discord")
print(discord.VoiceConnectionStatus.Signalling)
Search Ctrl K Navigate Open Esc