4.3% coverage

This commit is contained in:
hydrabolt
2016-02-13 15:11:27 +00:00
parent e404361858
commit bd187540d3
6 changed files with 272 additions and 14 deletions

View File

@@ -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";