mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 01:31:29 +00:00
Add readonly
This commit is contained in:
parent
79b0d3f2a5
commit
f9b7f9c27e
2 changed files with 2 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
|
@ -198,6 +198,7 @@ class Client extends EventEmitter {
|
||||||
/**
|
/**
|
||||||
* The timestamp that the client was last ready at
|
* The timestamp that the client was last ready at
|
||||||
* @type {?number}
|
* @type {?number}
|
||||||
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get readyTimestamp() {
|
get readyTimestamp() {
|
||||||
return this.readyAt ? this.readyAt.getTime() : null;
|
return this.readyAt ? this.readyAt.getTime() : null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue