AttachmentFlags
EnumOn this page
discord.AttachmentFlags lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.AttachmentFlags.IsClip1 << 0Is Clip. Use the symbolic name in bot code rather than the raw value.
discord.AttachmentFlags.IsThumbnail1 << 1Is Thumbnail. Use the symbolic name in bot code rather than the raw value.
discord.AttachmentFlags.IsRemix1 << 2Is Remix. Use the symbolic name in bot code rather than the raw value.
discord.AttachmentFlags.IsSpoiler1 << 3Is Spoiler. Use the symbolic name in bot code rather than the raw value.
discord.AttachmentFlags.IsAnimated1 << 5Is Animated. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.AttachmentFlags.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.AttachmentFlags.IsClip)