MessageFlags
EnumOn this page
discord.MessageFlags lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.MessageFlags.Crossposted1 << 0Crossposted. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.IsCrosspost1 << 1Is Crosspost. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.SuppressEmbeds1 << 2Suppress Embeds. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.SourceMessageDeleted1 << 3Source Message Deleted. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.Urgent1 << 4Urgent. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.HasThread1 << 5Has Thread. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.Ephemeral1 << 6Ephemeral. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.Loading1 << 7Loading. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.FailedToMentionSomeRolesInThread1 << 8Failed To Mention Some Roles In Thread. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.SuppressNotifications1 << 12Suppress Notifications. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.IsVoiceMessage1 << 13Is Voice Message. Use the symbolic name in bot code rather than the raw value.
discord.MessageFlags.IsComponentsV21 << 15Is Components V2. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.MessageFlags.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.MessageFlags.Crossposted)