mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
docs: mark getters as @ readonly
This commit is contained in:
@@ -20,6 +20,7 @@ class GuildEmojiRoleStore extends Collection {
|
||||
* The filtered collection of roles of the guild emoji
|
||||
* @type {Collection<Snowflake, Role>}
|
||||
* @private
|
||||
* @readonly
|
||||
*/
|
||||
get _filtered() {
|
||||
return this.guild.roles.filter(role => this.emoji._roles.includes(role.id));
|
||||
|
||||
@@ -20,6 +20,7 @@ class GuildMemberRoleStore extends Collection {
|
||||
* The filtered collection of roles of the member
|
||||
* @type {Collection<Snowflake, Role>}
|
||||
* @private
|
||||
* @readonly
|
||||
*/
|
||||
get _filtered() {
|
||||
const everyone = this.guild.defaultRole;
|
||||
|
||||
Reference in New Issue
Block a user