mirror of
https://github.com/danbulant/discord.js
synced 2026-06-07 16:52:16 +00:00
fix docs
This commit is contained in:
parent
03651fd6e3
commit
761b8cfb8d
3 changed files with 6 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
|
@ -22,6 +22,7 @@ class Game {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether or not the game is being streamed
|
* Whether or not the game is being streamed
|
||||||
|
* @type {boolean}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get streaming() {
|
get streaming() {
|
||||||
|
|
@ -42,6 +43,9 @@ class Game {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a User's presence
|
||||||
|
*/
|
||||||
class Presence {
|
class Presence {
|
||||||
constructor(data) {
|
constructor(data) {
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@ class User {
|
||||||
/**
|
/**
|
||||||
* The presence of this user
|
* The presence of this user
|
||||||
* @readonly
|
* @readonly
|
||||||
|
* @type {Presence}
|
||||||
*/
|
*/
|
||||||
get presence() {
|
get presence() {
|
||||||
if (this.client.presences.has(this.id)) {
|
if (this.client.presences.has(this.id)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue