mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs 6.66%
This commit is contained in:
@@ -1,6 +1,31 @@
|
||||
"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
|
||||
*/
|
||||
/**
|
||||
* Resolves supplied data type to a Message. If a channel, it is the latest message from that channel.
|
||||
* @typedef {(Message|TextChannel|PMChannel)} MessageResolvable
|
||||
*/
|
||||
/**
|
||||
* Resolves supplied data type to a Server. If a String, it should be the server's ID.
|
||||
* @typedef {(Server|ServerChannel|Message|String)} ServerResolvable
|
||||
*/
|
||||
/**
|
||||
* Resolves supplied data type to something that can be attached to a message. If a String, it can be an URL or a path to a local file.
|
||||
* @typedef {(String|ReadableStream|Buffer)} FileResolvable
|
||||
*/
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
||||
|
||||
Reference in New Issue
Block a user