mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
feat: add Message#bulkDeletable (v13) (#8761)
This commit is contained in:
@@ -4,6 +4,12 @@ const process = require('node:process');
|
||||
const Package = (exports.Package = require('../../package.json'));
|
||||
const { Error, RangeError, TypeError } = require('../errors');
|
||||
|
||||
/**
|
||||
* Max bulk deletable message age
|
||||
* @typedef {number} MaxBulkDeletableMessageAge
|
||||
*/
|
||||
exports.MaxBulkDeletableMessageAge = 1_209_600_000;
|
||||
|
||||
exports.UserAgent = `DiscordBot (${Package.homepage}, ${Package.version}) Node.js/${process.version}`;
|
||||
|
||||
/**
|
||||
@@ -1443,6 +1449,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.
|
||||
|
||||
Reference in New Issue
Block a user