diff options
| author | Alee14 <Alee14498@gmail.com> | 2017-07-28 16:20:27 -0400 |
|---|---|---|
| committer | Alee14 <Alee14498@gmail.com> | 2017-07-28 16:20:27 -0400 |
| commit | d35e0862e6b60fe3c4f823371627359f3ce3e68b (patch) | |
| tree | d98b788eb1abf0a8814207b993b4e22efe711deb /node_modules/discord.js/src/client/WebhookClient.js | |
| parent | 20993df62e7e38ed43428aafa5981afc3543bdea (diff) | |
| download | AleeBot-d35e0862e6b60fe3c4f823371627359f3ce3e68b.tar.gz AleeBot-d35e0862e6b60fe3c4f823371627359f3ce3e68b.tar.bz2 AleeBot-d35e0862e6b60fe3c4f823371627359f3ce3e68b.zip | |
Removing node modules (go get them yourself :P)
Diffstat (limited to 'node_modules/discord.js/src/client/WebhookClient.js')
| -rw-r--r-- | node_modules/discord.js/src/client/WebhookClient.js | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/node_modules/discord.js/src/client/WebhookClient.js b/node_modules/discord.js/src/client/WebhookClient.js deleted file mode 100644 index 68a8a94..0000000 --- a/node_modules/discord.js/src/client/WebhookClient.js +++ /dev/null @@ -1,46 +0,0 @@ -const Webhook = require('../structures/Webhook'); -const RESTManager = require('./rest/RESTManager'); -const ClientDataResolver = require('./ClientDataResolver'); -const mergeDefault = require('../util/MergeDefault'); -const Constants = require('../util/Constants'); - -/** - * The Webhook Client - * @extends {Webhook} - */ -class WebhookClient extends Webhook { - /** - * @param {string} id The id of the webhook. - * @param {string} token the token of the webhook. - * @param {ClientOptions} [options] Options for the client - * @example - * // create a new webhook and send a message - * let hook = new Discord.WebhookClient('1234', 'abcdef') - * hook.sendMessage('This will send a message').catch(console.error) - */ - constructor(id, token, options) { - super(null, id, token); - - /** - * The options the client was instantiated with - * @type {ClientOptions} - */ - this.options = mergeDefault(Constants.DefaultOptions, options); - - /** - * The REST manager of the client - * @type {RESTManager} - * @private - */ - this.rest = new RESTManager(this); - - /** - * The Data Resolver of the Client - * @type {ClientDataResolver} - * @private - */ - this.resolver = new ClientDataResolver(this); - } -} - -module.exports = WebhookClient; |
