ChannelFlags
EnumOn this page
discord.ChannelFlags lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.ChannelFlags.Pinned1 << 1Pinned. Use the symbolic name in bot code rather than the raw value.
discord.ChannelFlags.RequireTag1 << 4Require Tag. Use the symbolic name in bot code rather than the raw value.
discord.ChannelFlags.HideMediaDownloadOptions1 << 15Hide Media Download Options. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.ChannelFlags.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.ChannelFlags.Pinned)