mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
fix(GuildEmoji): Cache restricted roles and author data (#6675)
This commit is contained in:
@@ -31,6 +31,8 @@ class GuildEmoji extends BaseGuildEmoji {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
Object.defineProperty(this, '_roles', { value: [], writable: true });
|
Object.defineProperty(this, '_roles', { value: [], writable: true });
|
||||||
|
|
||||||
|
this._patch(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user