ThreadMemberFlags
EnumOn this page
discord.ThreadMemberFlags lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.ThreadMemberFlags.HasInteracted1 << 0Has Interacted. Use the symbolic name in bot code rather than the raw value.
discord.ThreadMemberFlags.AllMessages1 << 1All Messages. Use the symbolic name in bot code rather than the raw value.
discord.ThreadMemberFlags.OnlyMentions1 << 2Only Mentions. Use the symbolic name in bot code rather than the raw value.
discord.ThreadMemberFlags.NoMessages1 << 3No 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
local discord = require("discord")
print(discord.ThreadMemberFlags.HasInteracted)