DiscordLua
discorddiscord
v1.2.4
Install

PollLayoutType

Enum
On this page

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

Values

discord.PollLayoutType.Default
1
Default. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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