Add readonly

This commit is contained in:
Schuyler Cebulskie
2016-10-06 21:49:08 -04:00
parent 79b0d3f2a5
commit f9b7f9c27e
2 changed files with 2 additions and 1 deletions

View File

@@ -198,6 +198,7 @@ class Client extends EventEmitter {
/**
* The timestamp that the client was last ready at
* @type {?number}
* @readonly
*/
get readyTimestamp() {
return this.readyAt ? this.readyAt.getTime() : null;