GuildDefaultMessageNotifications
EnumOn this page
discord.GuildDefaultMessageNotifications lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.GuildDefaultMessageNotifications.AllMessages0All Messages. Use the symbolic name in bot code rather than the raw value.
discord.GuildDefaultMessageNotifications.OnlyMentions1Only Mentions. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.GuildDefaultMessageNotifications.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.GuildDefaultMessageNotifications.AllMessages)