seyfert 4.0.1-dev-19808765304.0 → 4.0.1-dev-20179130059.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -52,6 +52,8 @@ export declare class PermissionsBitField extends BitField<typeof PermissionFlags
|
|
|
52
52
|
readonly SendVoiceMessages: bigint;
|
|
53
53
|
readonly SendPolls: bigint;
|
|
54
54
|
readonly UseExternalApps: bigint;
|
|
55
|
+
readonly PinMessages: bigint;
|
|
56
|
+
readonly BypassSlowmode: bigint;
|
|
55
57
|
};
|
|
56
58
|
static All: bigint;
|
|
57
59
|
constructor(bitfields?: BitFieldResolvable<typeof PermissionFlagsBits> | BitFieldResolvable<typeof PermissionFlagsBits>[]);
|
|
@@ -176,10 +176,6 @@ export declare enum UserFlags {
|
|
|
176
176
|
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
|
|
177
177
|
*/
|
|
178
178
|
DisablePremium = 2097152,
|
|
179
|
-
/**
|
|
180
|
-
* User is an [Active Developer](https://support-dev.discord.com/hc/articles/10113997751447)
|
|
181
|
-
*/
|
|
182
|
-
ActiveDeveloper = 4194304,
|
|
183
179
|
/**
|
|
184
180
|
* User's account has been [quarantined](https://support.discord.com/hc/articles/6461420677527) based on recent activity
|
|
185
181
|
*
|
|
@@ -87,10 +87,6 @@ var UserFlags;
|
|
|
87
87
|
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
|
|
88
88
|
*/
|
|
89
89
|
UserFlags[UserFlags["DisablePremium"] = 2097152] = "DisablePremium";
|
|
90
|
-
/**
|
|
91
|
-
* User is an [Active Developer](https://support-dev.discord.com/hc/articles/10113997751447)
|
|
92
|
-
*/
|
|
93
|
-
UserFlags[UserFlags["ActiveDeveloper"] = 4194304] = "ActiveDeveloper";
|
|
94
90
|
/**
|
|
95
91
|
* User's account has been [quarantined](https://support.discord.com/hc/articles/6461420677527) based on recent activity
|
|
96
92
|
*
|
|
@@ -660,6 +660,18 @@ export declare const PermissionFlagsBits: {
|
|
|
660
660
|
* Applies to channel types: Text, Voice, Stage
|
|
661
661
|
*/
|
|
662
662
|
readonly UseExternalApps: bigint;
|
|
663
|
+
/**
|
|
664
|
+
* Allows pinning and unpinning messages
|
|
665
|
+
*
|
|
666
|
+
* Applies to channel types: Text
|
|
667
|
+
*/
|
|
668
|
+
readonly PinMessages: bigint;
|
|
669
|
+
/**
|
|
670
|
+
* Allows bypassing slowmode restrictions
|
|
671
|
+
*
|
|
672
|
+
* Applies to channel types: Text, Voice, Stage
|
|
673
|
+
*/
|
|
674
|
+
readonly BypassSlowmode: bigint;
|
|
663
675
|
};
|
|
664
676
|
/**
|
|
665
677
|
* https://discord.com/developers/docs/resources/channel#channel-object-channel-types
|
package/lib/types/utils/index.js
CHANGED
|
@@ -645,6 +645,18 @@ exports.PermissionFlagsBits = {
|
|
|
645
645
|
* Applies to channel types: Text, Voice, Stage
|
|
646
646
|
*/
|
|
647
647
|
UseExternalApps: 1n << 50n,
|
|
648
|
+
/**
|
|
649
|
+
* Allows pinning and unpinning messages
|
|
650
|
+
*
|
|
651
|
+
* Applies to channel types: Text
|
|
652
|
+
*/
|
|
653
|
+
PinMessages: 1n << 51n,
|
|
654
|
+
/**
|
|
655
|
+
* Allows bypassing slowmode restrictions
|
|
656
|
+
*
|
|
657
|
+
* Applies to channel types: Text, Voice, Stage
|
|
658
|
+
*/
|
|
659
|
+
BypassSlowmode: 1n << 52n,
|
|
648
660
|
};
|
|
649
661
|
/**
|
|
650
662
|
* Freeze the object of bits, preventing any modifications to it
|