DiscordLua
discorddiscord
v1.2.4
Install

ApplicationWebhookEventType

Enum
On this page

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

Values

discord.ApplicationWebhookEventType.ApplicationAuthorized
APPLICATION_AUTHORIZED
Application Authorized. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationWebhookEventType.ApplicationDeauthorized
APPLICATION_DEAUTHORIZED
Application Deauthorized. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationWebhookEventType.EntitlementCreate
ENTITLEMENT_CREATE
Entitlement Create. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationWebhookEventType.EntitlementUpdate
ENTITLEMENT_UPDATE
Entitlement Update. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationWebhookEventType.EntitlementDelete
ENTITLEMENT_DELETE
Entitlement Delete. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationWebhookEventType.QuestUserEnrollment
QUEST_USER_ENROLLMENT
Quest User Enrollment. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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