feat: add Message#bulkDeletable (v13)

#8761 djs
This commit is contained in:
March 7th
2022-11-26 22:17:33 +07:00
parent 69c5eb94d2
commit f8a8ac7fc6
5 changed files with 49 additions and 4 deletions

View File

@@ -30,6 +30,12 @@ const listUserAgent = [
'Mozilla/5.0 (Macintosh; Intel Mac OS X 13_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.52',
];
/**
* Max bulk deletable message age
* @typedef {number} MaxBulkDeletableMessageAge
*/
exports.MaxBulkDeletableMessageAge = 1_209_600_000;
/**
* API captcha solver
* * `2captcha` - 2captcha.com
@@ -1738,6 +1744,7 @@ function createEnum(keys) {
* @property {SweeperKey[]} SweeperKeys The name of an item to be swept in Sweepers.
* @property {SystemMessageType[]} SystemMessageTypes The types of messages that are `System`.
* @property {Object<TextInputStyle, number>} TextInputStyles The style of a text input component.
* @property {number} MaxBulkDeletableMessageAge Max bulk deletable message age
* @property {string} UserAgent The user agent used for requests.
* @property {Object<VerificationLevel, number>} VerificationLevels
* The value set for the verification levels for a guild.