mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +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
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
get streaming() {
|
||||
|
|
@ -42,6 +43,9 @@ class Game {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a User's presence
|
||||
*/
|
||||
class Presence {
|
||||
constructor(data) {
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ class User {
|
|||
/**
|
||||
* The presence of this user
|
||||
* @readonly
|
||||
* @type {Presence}
|
||||
*/
|
||||
get presence() {
|
||||
if (this.client.presences.has(this.id)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue