This commit is contained in:
Amish Shah
2016-09-25 14:28:46 +01:00
parent 03651fd6e3
commit 761b8cfb8d
3 changed files with 6 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -22,6 +22,7 @@ class Game {
/**
* Whether or not the game is being streamed
* @type {boolean}
* @readonly
*/
get streaming() {
@@ -42,6 +43,9 @@ class Game {
}
}
/**
* Represents a User's presence
*/
class Presence {
constructor(data) {
/**

View File

@@ -53,6 +53,7 @@ class User {
/**
* The presence of this user
* @readonly
* @type {Presence}
*/
get presence() {
if (this.client.presences.has(this.id)) {