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

@@ -45,6 +45,7 @@ class Presence {
/**
* The user of this presence
* @type {?User}
* @readonly
*/
get user() {
return this.client.users.get(this.userID) || null;
@@ -53,6 +54,7 @@ class Presence {
/**
* The member of this presence
* @type {?GuildMember}
* @readonly
*/
get member() {
return this.guild.members.get(this.userID) || null;