mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
fix docs
This commit is contained in:
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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user