DiscordLua
discorddiscord
v1.2.4
Install

ApplicationWebhookEventStatus

Enum
On this page

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

Values

discord.ApplicationWebhookEventStatus.Disabled
1
Disabled. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationWebhookEventStatus.Enabled
2
Enabled. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationWebhookEventStatus.DisabledByDiscord
3
Disabled By Discord. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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