mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
feat(SysChanFlags): new flag and rename in sync with client (#5506)
This commit is contained in:
@@ -34,13 +34,15 @@ class SystemChannelFlags extends BitField {}
|
||||
|
||||
/**
|
||||
* Numeric system channel flags. All available properties:
|
||||
* * `WELCOME_MESSAGE_DISABLED`
|
||||
* * `BOOST_MESSAGE_DISABLED`
|
||||
* * `SUPPRESS_JOIN_NOTIFICATIONS` (Suppress member join notifications)
|
||||
* * `SUPPRESS_PREMIUM_SUBSCRIPTIONS` (Suppress server boost notifications)
|
||||
* * `SUPPRESS_GUILD_REMINDER_NOTIFICATIONS` (Suppress server setup tips)
|
||||
* @type {Object}
|
||||
*/
|
||||
SystemChannelFlags.FLAGS = {
|
||||
WELCOME_MESSAGE_DISABLED: 1 << 0,
|
||||
BOOST_MESSAGE_DISABLED: 1 << 1,
|
||||
SUPPRESS_JOIN_NOTIFICATIONS: 1 << 0,
|
||||
SUPPRESS_PREMIUM_SUBSCRIPTIONS: 1 << 1,
|
||||
SUPPRESS_GUILD_REMINDER_NOTIFICATIONS: 1 << 2,
|
||||
};
|
||||
|
||||
module.exports = SystemChannelFlags;
|
||||
|
||||
Reference in New Issue
Block a user