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,6 +1,19 @@
"use strict";
/* global Buffer */
/**
* Resolves supplied data type to a Channel. If a String, it should be a Channel ID.
* @typedef {(Channel|Server|Message|User|String)} ChannelResolvable
*/
/**
* Resolves supplied data type to a TextChannel or PMChannel. If a String, it should be a Channel ID.
* @typedef {(TextChannel|PMChannel|Server|Message|User|String)} TextChannelResolvable
*/
/**
* If given an array, turns it into a newline-separated string.
* @typedef {(String|Array)} StringResolvable
*/
import fs from "fs";
import request from "superagent";