ApplicationFlags
ApplicationFlags ⇐ Bitfield
Section titled “ApplicationFlags ⇐ Bitfield”Kind: global class
Extends: Bitfield
- ApplicationFlags ⇐
Bitfield- new ApplicationFlags(…bit)
- .Default
- .All ⇒
- .Flags :
enum
new ApplicationFlags(…bit)
Section titled “new ApplicationFlags(…bit)”Constructs a new instance of the class.
| Param | Type | Description |
|---|---|---|
| …bit | bigint | The bits to set in the bitfield. |
ApplicationFlags.Default
Section titled “ApplicationFlags.Default”Sets the default value for the ApplicationFlags to 0n.
Kind: static property of ApplicationFlags
| Param | Type | Description |
|---|---|---|
| Default | bigint | The default bit value to set. |
ApplicationFlags.All ⇒
Section titled “ApplicationFlags.All ⇒”Combines all the values of the ApplicationFlags.Flags object using a bitwise OR operation and assigns the result to the ApplicationFlags.All property.
Kind: static property of ApplicationFlags
Returns: The calculated value of ApplicationFlags.All.
| Param | Type | Description |
|---|---|---|
| All | bigint | All bit value. |
ApplicationFlags.Flags : enum
Section titled “ApplicationFlags.Flags : enum”Represents the available application flags.
Kind: static enum of ApplicationFlags
Read only: true
Properties
| Name | Type | Default |
|---|---|---|
| Gateway_Presence | bigint | |
| Gateway_Presence_Limited | bigint | |
| Gateway_Guild_Members | bigint | |
| Gateway_Guild_Members_Limited | bigint | |
| Verification_Pending_Guild_Limit | bigint | |
| Embedded | bigint | |
| Gateway_Message_Content | bigint | |
| Gateway_Message_Content_Limited | bigint | |
| Application_Command_Badge | bigint | |