feat(Guild): add support for premium/boosting (#3332)

Backports:
PR: #3316
Commit: c87758086b
This commit is contained in:
SpaceEEC
2019-06-13 19:03:36 +02:00
committed by GitHub
parent e6a378b361
commit b8924369ea
5 changed files with 62 additions and 0 deletions

View File

@@ -62,6 +62,13 @@ class Emoji {
*/
this.animated = data.animated;
/**
* Whether this emoji is available
* @type {boolean}
* @name Emoji#available
*/
if (typeof data.available !== 'undefined') this.available = data.available;
this._roles = data.roles;
}