DiscordLua
discorddiscord
v1.2.4
Install

ThreadMemberFlags

Enum
On this page

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

Values

discord.ThreadMemberFlags.HasInteracted
1 << 0
Has Interacted. Use the symbolic name in bot code rather than the raw value.
discord.ThreadMemberFlags.AllMessages
1 << 1
All Messages. Use the symbolic name in bot code rather than the raw value.
discord.ThreadMemberFlags.OnlyMentions
1 << 2
Only Mentions. Use the symbolic name in bot code rather than the raw value.
discord.ThreadMemberFlags.NoMessages
1 << 3
No Messages. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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