mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
4.3% coverage
This commit is contained in:
17
src/index.js
17
src/index.js
@@ -1,5 +1,22 @@
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Object containing user agent data required for API requests.
|
||||
* @typedef {(object)} UserAgent
|
||||
* @property {string} [url=https://github.com/hydrabolt/discord.js] URL to the repository/homepage of the creator.
|
||||
* @property {string} [version=6.0.0] version of your bot.
|
||||
* @property {string} full stringified user-agent that is generate automatically upon changes. Read-only.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Object containing properties that can be used to alter the client's functionality.
|
||||
* @typedef {(object)} ClientOptions
|
||||
* @property {boolean} [compress=true] whether or not large packets that are sent over WebSockets should be compressed.
|
||||
* @property {boolean} [revive=false] whether the Client should attempt to automatically reconnect if it is disconnected.
|
||||
* @property {boolean} [rate_limit_as_error=false] whether rejections to API requests due to rate-limiting should be treated as errors.
|
||||
* @property {Number} [large_threshold=250] an integer between 0 and 250. When a server has more users than `options.large_threshold`, only the online/active users are cached.
|
||||
*/
|
||||
|
||||
import Client from "./Client/Client";
|
||||
import Channel from "./Structures/Channel";
|
||||
import ChannelPermissions from "./Structures/ChannelPermissions";
|
||||
|
||||
Reference in New Issue
Block a user