DiscordLua
discorddiscord
v1.2.4
Install

SystemChannelFlags

Enum
On this page

discord.SystemChannelFlags lists the named constants for this enumeration. Prefer these names over hardcoded literals.

Values

discord.SystemChannelFlags.SuppressJoinNotifications
1 << 0
Suppress Join Notifications. Use the symbolic name in bot code rather than the raw value.
discord.SystemChannelFlags.SuppressPremiumSubscriptions
1 << 1
Suppress Premium Subscriptions. Use the symbolic name in bot code rather than the raw value.
discord.SystemChannelFlags.SuppressGuildReminderNotifications
1 << 2
Suppress Guild Reminder Notifications. Use the symbolic name in bot code rather than the raw value.
discord.SystemChannelFlags.SuppressJoinNotificationReplies
1 << 3
Suppress Join Notification Replies. Use the symbolic name in bot code rather than the raw value.
discord.SystemChannelFlags.SuppressRoleSubscriptionPurchaseNotifications
1 << 4
Suppress Role Subscription Purchase Notifications. Use the symbolic name in bot code rather than the raw value.
discord.SystemChannelFlags.SuppressRoleSubscriptionPurchaseNotificationReplies
1 << 5
Suppress Role Subscription Purchase Notification Replies. Use the symbolic name in bot code rather than the raw value.

Usage

Read members as discord.SystemChannelFlags.Name. Do not hard-code numeric literals when a symbolic name exists.

Example

lua
local discord = require("discord")
print(discord.SystemChannelFlags.SuppressJoinNotifications)
Search Ctrl K Navigate Open Esc