GuildExplicitContentFilter
EnumOn this page
discord.GuildExplicitContentFilter lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.GuildExplicitContentFilter.Disabled0Disabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildExplicitContentFilter.MembersWithoutRoles1Members Without Roles. Use the symbolic name in bot code rather than the raw value.
discord.GuildExplicitContentFilter.AllMembers2All Members. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.GuildExplicitContentFilter.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.GuildExplicitContentFilter.Disabled)