DiscordLua
discorddiscord
v1.2.4
Install

NameplatePalette

Enum
On this page

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

Values

discord.NameplatePalette.Crimson
crimson
Crimson. Use the symbolic name in bot code rather than the raw value.
discord.NameplatePalette.Berry
berry
Berry. Use the symbolic name in bot code rather than the raw value.
discord.NameplatePalette.Sky
sky
Sky. Use the symbolic name in bot code rather than the raw value.
discord.NameplatePalette.Teal
teal
Teal. Use the symbolic name in bot code rather than the raw value.
discord.NameplatePalette.Forest
forest
Forest. Use the symbolic name in bot code rather than the raw value.
discord.NameplatePalette.BubbleGum
bubble_gum
Bubble Gum. Use the symbolic name in bot code rather than the raw value.
discord.NameplatePalette.Violet
violet
Violet. Use the symbolic name in bot code rather than the raw value.
discord.NameplatePalette.Cobalt
cobalt
Cobalt. Use the symbolic name in bot code rather than the raw value.
discord.NameplatePalette.Clover
clover
Clover. Use the symbolic name in bot code rather than the raw value.
discord.NameplatePalette.Lemon
lemon
Lemon. Use the symbolic name in bot code rather than the raw value.
discord.NameplatePalette.White
white
White. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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