mirror of
https://github.com/danbulant/discord.js
synced 2026-07-04 10:40:38 +00:00
Update docs for Client
This commit is contained in:
parent
3fded1d7af
commit
c308a2a01c
3 changed files with 4 additions and 7 deletions
File diff suppressed because one or more lines are too long
|
|
@ -37,7 +37,7 @@ class DocumentedConstructor extends DocumentedItem {
|
||||||
description,
|
description,
|
||||||
memberof,
|
memberof,
|
||||||
access,
|
access,
|
||||||
params: params.map(p => p.serialize())
|
params: params.map(p => p.serialize()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,8 @@ const WebSocketManager = require('./websocket/WebSocketManager');
|
||||||
const ActionsManager = require('./actions/ActionsManager');
|
const ActionsManager = require('./actions/ActionsManager');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new Discord Client
|
* The starting point for making a Discord Bot.
|
||||||
* ```js
|
* @extends {EventEmitter}
|
||||||
* const Discord = require("discord.js");
|
|
||||||
* const client = new Discord.Client();
|
|
||||||
* ```
|
|
||||||
*/
|
*/
|
||||||
class Client extends EventEmitter {
|
class Client extends EventEmitter {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue