Webpack build for branch 11.4-dev: 2aa8e1d9c1

This commit is contained in:
Travis CI 2018-12-22 07:29:25 +00:00
parent 798238048c
commit bf328aa1be
2 changed files with 3 additions and 3 deletions

View file

@ -352,7 +352,7 @@ eval("/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports) {
eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?");
eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?");
/***/ }),
@ -1780,7 +1780,7 @@ eval("const Snowflake = __webpack_require__(/*! ../util/Snowflake */ \"./src/uti
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
eval("const GuildChannel = __webpack_require__(/*! ./GuildChannel */ \"./src/structures/GuildChannel.js\");\nconst TextBasedChannel = __webpack_require__(/*! ./interfaces/TextBasedChannel */ \"./src/structures/interfaces/TextBasedChannel.js\");\nconst Collection = __webpack_require__(/*! ../util/Collection */ \"./src/util/Collection.js\");\n\n/**\n * Represents a guild text channel on Discord.\n * @extends {GuildChannel}\n * @implements {TextBasedChannel}\n */\nclass TextChannel extends GuildChannel {\n constructor(guild, data) {\n super(guild, data);\n this.type = 'text';\n this.messages = new Collection();\n this._typing = new Map();\n }\n\n setup(data) {\n super.setup(data);\n\n /**\n * The topic of the text channel\n * @type {?string}\n */\n this.topic = data.topic;\n\n /**\n * If the Discord considers this channel NSFW\n * @type {boolean}\n * @readonly\n */\n this.nsfw = Boolean(data.nsfw);\n\n /**\n * The ID of the last message sent in this channel, if one was sent\n * @type {?Snowflake}\n */\n this.lastMessageID = data.last_message_id;\n\n /**\n * The timestamp when the last pinned message was pinned, if there was one\n * @type {?number}\n */\n this.lastPinTimestamp = data.last_pin_timestamp ? new Date(data.last_pin_timestamp).getTime() : null;\n\n /**\n * The ratelimit per user for this channel\n * @type {number}\n */\n this.rateLimitPerUser = data.rate_limit_per_user || 0;\n }\n\n /**\n * A collection of members that can see this channel, mapped by their ID\n * @type {Collection<Snowflake, GuildMember>}\n * @readonly\n */\n get members() {\n const members = new Collection();\n for (const member of this.guild.members.values()) {\n if (this.permissionsFor(member).has('READ_MESSAGES')) {\n members.set(member.id, member);\n }\n }\n return members;\n }\n\n /**\n * Fetch all webhooks for the channel.\n * @returns {Promise<Collection<Snowflake, Webhook>>}\n * @example\n * // Fetch webhooks\n * channel.fetchWebhooks()\n * .then(hooks => console.log(`This channel has ${hooks.size} hooks`))\n * .catch(console.error);\n */\n fetchWebhooks() {\n return this.client.rest.methods.getChannelWebhooks(this);\n }\n\n /**\n * Sets whether this channel is flagged as NSFW.\n * @param {boolean} nsfw Whether the channel should be considered NSFW\n * @param {string} [reason] Reason for changing the channel's NSFW flag\n * @returns {Promise<TextChannel>}\n */\n setNSFW(nsfw, reason) {\n return this.edit({ nsfw }, reason);\n }\n\n /**\n * Create a webhook for the channel.\n * @param {string} name The name of the webhook\n * @param {BufferResolvable|Base64Resolvable} [avatar] The avatar for the webhook\n * @param {string} [reason] Reason for creating this webhook\n * @returns {Promise<Webhook>} webhook The created webhook\n * @example\n * channel.createWebhook('Snek', 'https://i.imgur.com/mI8XcpG.jpg')\n * .then(webhook => console.log(`Created webhook ${webhook}`))\n * .catch(console.error)\n */\n createWebhook(name, avatar, reason) {\n if (typeof avatar === 'string' && avatar.startsWith('data:')) {\n return this.client.rest.methods.createWebhook(this, name, avatar, reason);\n } else {\n return this.client.resolver.resolveImage(avatar).then(data =>\n this.client.rest.methods.createWebhook(this, name, data, reason)\n );\n }\n }\n\n /**\n * Sets the rate limit per user for this channel.\n * @param {number} rateLimitPerUser The new ratelimit\n * @param {string} [reason] Reason for changing the channel's ratelimits\n * @returns {Promise<TextChannel>}\n */\n setRateLimitPerUser(rateLimitPerUser, reason) {\n return this.edit({ rateLimitPerUser }, reason);\n }\n\n // These are here only for documentation purposes - they are implemented by TextBasedChannel\n /* eslint-disable no-empty-function */\n get lastPinAt() {}\n send() { }\n sendMessage() { }\n sendEmbed() { }\n sendFile() { }\n sendFiles() { }\n sendCode() { }\n fetchMessage() { }\n fetchMessages() { }\n fetchPinnedMessages() { }\n search() { }\n startTyping() { }\n stopTyping() { }\n get typing() { }\n get typingCount() { }\n createCollector() { }\n createMessageCollector() { }\n awaitMessages() { }\n bulkDelete() { }\n acknowledge() { }\n _cacheMessage() { }\n}\n\nTextBasedChannel.applyToClass(TextChannel, true);\n\nmodule.exports = TextChannel;\n\n\n//# sourceURL=webpack:///./src/structures/TextChannel.js?");
eval("const GuildChannel = __webpack_require__(/*! ./GuildChannel */ \"./src/structures/GuildChannel.js\");\nconst TextBasedChannel = __webpack_require__(/*! ./interfaces/TextBasedChannel */ \"./src/structures/interfaces/TextBasedChannel.js\");\nconst Collection = __webpack_require__(/*! ../util/Collection */ \"./src/util/Collection.js\");\n\n/**\n * Represents a guild text channel on Discord.\n * @extends {GuildChannel}\n * @implements {TextBasedChannel}\n */\nclass TextChannel extends GuildChannel {\n constructor(guild, data) {\n super(guild, data);\n this.type = 'text';\n /**\n * A collection containing the messages sent to this channel\n * @type {Collection<Snowflake, Message>}\n */\n this.messages = new Collection();\n this._typing = new Map();\n }\n\n setup(data) {\n super.setup(data);\n\n /**\n * The topic of the text channel\n * @type {?string}\n */\n this.topic = data.topic;\n\n /**\n * If the Discord considers this channel NSFW\n * @type {boolean}\n * @readonly\n */\n this.nsfw = Boolean(data.nsfw);\n\n /**\n * The ID of the last message sent in this channel, if one was sent\n * @type {?Snowflake}\n */\n this.lastMessageID = data.last_message_id;\n\n /**\n * The timestamp when the last pinned message was pinned, if there was one\n * @type {?number}\n */\n this.lastPinTimestamp = data.last_pin_timestamp ? new Date(data.last_pin_timestamp).getTime() : null;\n\n /**\n * The ratelimit per user for this channel\n * @type {number}\n */\n this.rateLimitPerUser = data.rate_limit_per_user || 0;\n }\n\n /**\n * A collection of members that can see this channel, mapped by their ID\n * @type {Collection<Snowflake, GuildMember>}\n * @readonly\n */\n get members() {\n const members = new Collection();\n for (const member of this.guild.members.values()) {\n if (this.permissionsFor(member).has('READ_MESSAGES')) {\n members.set(member.id, member);\n }\n }\n return members;\n }\n\n /**\n * Fetch all webhooks for the channel.\n * @returns {Promise<Collection<Snowflake, Webhook>>}\n * @example\n * // Fetch webhooks\n * channel.fetchWebhooks()\n * .then(hooks => console.log(`This channel has ${hooks.size} hooks`))\n * .catch(console.error);\n */\n fetchWebhooks() {\n return this.client.rest.methods.getChannelWebhooks(this);\n }\n\n /**\n * Sets whether this channel is flagged as NSFW.\n * @param {boolean} nsfw Whether the channel should be considered NSFW\n * @param {string} [reason] Reason for changing the channel's NSFW flag\n * @returns {Promise<TextChannel>}\n */\n setNSFW(nsfw, reason) {\n return this.edit({ nsfw }, reason);\n }\n\n /**\n * Create a webhook for the channel.\n * @param {string} name The name of the webhook\n * @param {BufferResolvable|Base64Resolvable} [avatar] The avatar for the webhook\n * @param {string} [reason] Reason for creating this webhook\n * @returns {Promise<Webhook>} webhook The created webhook\n * @example\n * channel.createWebhook('Snek', 'https://i.imgur.com/mI8XcpG.jpg')\n * .then(webhook => console.log(`Created webhook ${webhook}`))\n * .catch(console.error)\n */\n createWebhook(name, avatar, reason) {\n if (typeof avatar === 'string' && avatar.startsWith('data:')) {\n return this.client.rest.methods.createWebhook(this, name, avatar, reason);\n } else {\n return this.client.resolver.resolveImage(avatar).then(data =>\n this.client.rest.methods.createWebhook(this, name, data, reason)\n );\n }\n }\n\n /**\n * Sets the rate limit per user for this channel.\n * @param {number} rateLimitPerUser The new ratelimit\n * @param {string} [reason] Reason for changing the channel's ratelimits\n * @returns {Promise<TextChannel>}\n */\n setRateLimitPerUser(rateLimitPerUser, reason) {\n return this.edit({ rateLimitPerUser }, reason);\n }\n\n // These are here only for documentation purposes - they are implemented by TextBasedChannel\n /* eslint-disable no-empty-function */\n get lastMessage() {}\n get lastPinAt() {}\n send() { }\n sendMessage() { }\n sendEmbed() { }\n sendFile() { }\n sendFiles() { }\n sendCode() { }\n fetchMessage() { }\n fetchMessages() { }\n fetchPinnedMessages() { }\n search() { }\n startTyping() { }\n stopTyping() { }\n get typing() { }\n get typingCount() { }\n createCollector() { }\n createMessageCollector() { }\n awaitMessages() { }\n bulkDelete() { }\n acknowledge() { }\n _cacheMessage() { }\n}\n\nTextBasedChannel.applyToClass(TextChannel, true);\n\nmodule.exports = TextChannel;\n\n\n//# sourceURL=webpack:///./src/structures/TextChannel.js?");
/***/ }),

File diff suppressed because one or more lines are too long