docs: mark getters as @ readonly

This commit is contained in:
SpaceEEC
2019-03-19 19:59:45 +01:00
parent df1889ab49
commit e62833b5e1
15 changed files with 27 additions and 4 deletions

View File

@@ -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));

View File

@@ -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;