mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build for branch 11.3-dev: ed8ab91782
This commit is contained in:
parent
60b9ec7db6
commit
2bebcfe6ad
2 changed files with 11 additions and 1 deletions
|
|
@ -6559,6 +6559,7 @@ module.exports = Message;
|
|||
|
||||
const Constants = __webpack_require__(0);
|
||||
const Collection = __webpack_require__(3);
|
||||
const Permissions = __webpack_require__(6);
|
||||
const Snowflake = __webpack_require__(5);
|
||||
|
||||
/**
|
||||
|
|
@ -6635,6 +6636,15 @@ class Emoji {
|
|||
return new Date(this.createdTimestamp);
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the moej is deletable by the client user
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
get deletable() {
|
||||
return !this.managed && this.guild.me.hasPermission(Permissions.FLAGS.MANAGE_EMOJIS);
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of roles this emoji is active for (empty if all), mapped by role ID
|
||||
* @type {Collection<Snowflake, Role>}
|
||||
|
|
|
|||
2
discord.11.3-dev.min.js
vendored
2
discord.11.3-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue