DiscordLua
discorddiscord
v1.2.4
Install

ApplicationRoleConnectionMetadataType

Enum
On this page

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

Values

discord.ApplicationRoleConnectionMetadataType.IntegerLessThanOrEqual
1
Integer Less Than Or Equal. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationRoleConnectionMetadataType.IntegerGreaterThanOrEqual
2
Integer Greater Than Or Equal. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationRoleConnectionMetadataType.IntegerEqual
3
Integer Equal. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationRoleConnectionMetadataType.IntegerNotEqual
4
Integer Not Equal. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationRoleConnectionMetadataType.DatetimeLessThanOrEqual
5
Datetime Less Than Or Equal. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationRoleConnectionMetadataType.DatetimeGreaterThanOrEqual
6
Datetime Greater Than Or Equal. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationRoleConnectionMetadataType.BooleanEqual
7
Boolean Equal. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationRoleConnectionMetadataType.BooleanNotEqual
8
Boolean Not Equal. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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