mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 06:31:20 +00:00
Webpack build for branch 11.5-dev: 4ca18647ba
This commit is contained in:
parent
c83a7e8bf6
commit
2712d98a2c
2 changed files with 3 additions and 3 deletions
|
|
@ -1660,9 +1660,9 @@ eval("const Mentions = __webpack_require__(/*! ./MessageMentions */ \"./src/stru
|
|||
\*********************************************/
|
||||
/*! no static exports found */
|
||||
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
|
||||
/***/ (function(module, exports) {
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
eval("/**\n * Represents an attachment in a message.\n */\nclass MessageAttachment {\n constructor(message, data) {\n /**\n * The client that instantiated this MessageAttachment\n * @name MessageAttachment#client\n * @type {Client}\n * @readonly\n */\n Object.defineProperty(this, 'client', { value: message.client });\n\n /**\n * The message this attachment is part of\n * @type {Message}\n */\n this.message = message;\n\n this.setup(data);\n }\n\n setup(data) {\n /**\n * The ID of this attachment\n * @type {Snowflake}\n */\n this.id = data.id;\n\n /**\n * The file name of this attachment\n * @type {string}\n */\n this.filename = data.filename;\n\n /**\n * The size of this attachment in bytes\n * @type {number}\n */\n this.filesize = data.size;\n\n /**\n * The URL to this attachment\n * @type {string}\n */\n this.url = data.url;\n\n /**\n * The Proxy URL to this attachment\n * @type {string}\n */\n this.proxyURL = data.proxy_url;\n\n /**\n * The height of this attachment (if an image)\n * @type {?number}\n */\n this.height = data.height;\n\n /**\n * The width of this attachment (if an image)\n * @type {?number}\n */\n this.width = data.width;\n }\n}\n\nmodule.exports = MessageAttachment;\n\n\n//# sourceURL=webpack:///./src/structures/MessageAttachment.js?");
|
||||
eval("const { basename } = __webpack_require__(/*! path */ \"./node_modules/path-browserify/index.js\");\n\n/**\n * Represents an attachment in a message.\n */\nclass MessageAttachment {\n constructor(message, data) {\n /**\n * The client that instantiated this MessageAttachment\n * @name MessageAttachment#client\n * @type {Client}\n * @readonly\n */\n Object.defineProperty(this, 'client', { value: message.client });\n\n /**\n * The message this attachment is part of\n * @type {Message}\n */\n this.message = message;\n\n this.setup(data);\n }\n\n setup(data) {\n /**\n * The ID of this attachment\n * @type {Snowflake}\n */\n this.id = data.id;\n\n /**\n * The file name of this attachment\n * @type {string}\n */\n this.filename = data.filename;\n\n /**\n * The size of this attachment in bytes\n * @type {number}\n */\n this.filesize = data.size;\n\n /**\n * The URL to this attachment\n * @type {string}\n */\n this.url = data.url;\n\n /**\n * The Proxy URL to this attachment\n * @type {string}\n */\n this.proxyURL = data.proxy_url;\n\n /**\n * The height of this attachment (if an image)\n * @type {?number}\n */\n this.height = data.height;\n\n /**\n * The width of this attachment (if an image)\n * @type {?number}\n */\n this.width = data.width;\n }\n\n /**\n * Whether or not this attachment has been marked as a spoiler\n * @type {boolean}\n * @readonly\n */\n get spoiler() {\n return basename(this.url).startsWith('SPOILER_');\n }\n}\n\nmodule.exports = MessageAttachment;\n\n\n//# sourceURL=webpack:///./src/structures/MessageAttachment.js?");
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
|
|
|||
2
discord.11.5-dev.min.js
vendored
2
discord.11.5-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue