-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into types/narrow-button-type
- Loading branch information
Showing
13 changed files
with
171 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
'use strict'; | ||
|
||
const { AttachmentFlags } = require('discord-api-types/v10'); | ||
const BitField = require('./BitField'); | ||
|
||
/** | ||
* Data structure that makes it easy to interact with an {@link Attachment#flags} bitfield. | ||
* @extends {BitField} | ||
*/ | ||
class AttachmentFlagsBitField extends BitField { | ||
/** | ||
* Numeric attachment flags. | ||
* @type {AttachmentFlags} | ||
* @memberof AttachmentFlagsBitField | ||
*/ | ||
static Flags = AttachmentFlags; | ||
} | ||
|
||
/** | ||
* @name AttachmentFlagsBitField | ||
* @kind constructor | ||
* @memberof AttachmentFlagsBitField | ||
* @param {BitFieldResolvable} [bits=0] Bit(s) to read from | ||
*/ | ||
|
||
module.exports = AttachmentFlagsBitField; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
'use strict'; | ||
|
||
const { RoleFlags } = require('discord-api-types/v10'); | ||
const BitField = require('./BitField'); | ||
|
||
/** | ||
* Data structure that makes it easy to interact with a {@link Role#flags} bitfield. | ||
* @extends {BitField} | ||
*/ | ||
class RoleFlagsBitField extends BitField { | ||
/** | ||
* Numeric role flags. | ||
* @type {RoleFlags} | ||
* @memberof RoleFlagsBitField | ||
*/ | ||
static Flags = RoleFlags; | ||
} | ||
|
||
/** | ||
* @name RoleFlagsBitField | ||
* @kind constructor | ||
* @memberof RoleFlagsBitField | ||
* @param {BitFieldResolvable} [bits=0] Bit(s) to read from | ||
*/ | ||
|
||
module.exports = RoleFlagsBitField; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters