mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 14:11:09 +00:00
Webpack build for branch 11.3-dev: 6e10d258b6
This commit is contained in:
parent
65181b2bb0
commit
031c3e6dc4
2 changed files with 5 additions and 5 deletions
|
|
@ -12528,7 +12528,7 @@ exports.encode = exports.stringify = __webpack_require__(65);
|
|||
/* 35 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = {"name":"discord.js","version":"11.3.0","description":"A powerful library for interacting with the Discord API","main":"./src/index","types":"./typings/index.d.ts","scripts":{"test":"npm run lint && npm run docs:test","docs":"docgen --source src --custom docs/index.yml --output docs/docs.json","docs:test":"docgen --source src --custom docs/index.yml","lint":"eslint src","lint:fix":"eslint --fix src","webpack":"parallel-webpack"},"repository":{"type":"git","url":"git+https://github.com/hydrabolt/discord.js.git"},"keywords":["discord","api","bot","client","node","discordapp"],"author":"Amish Shah <amishshah.2k@gmail.com>","license":"Apache-2.0","bugs":{"url":"https://github.com/hydrabolt/discord.js/issues"},"homepage":"https://github.com/hydrabolt/discord.js#readme","runkitExampleFilename":"./docs/examples/ping.js","dependencies":{"long":"^3.2.0","prism-media":"^0.0.1","snekfetch":"^3.6.1","tweetnacl":"^1.0.0","ws":"^4.0.0"},"peerDependencies":{"bufferutil":"^3.0.3","erlpack":"discordapp/erlpack","node-opus":"^0.2.7","opusscript":"^0.0.6","sodium":"^2.0.3","libsodium-wrappers":"^0.5.4","uws":"^9.14.0"},"devDependencies":{"@types/node":"^8.5.7","discord.js-docgen":"hydrabolt/discord.js-docgen","eslint":"^4.15.0","parallel-webpack":"^2.2.0","uglifyjs-webpack-plugin":"^1.1.6","webpack":"^3.10.0"},"engines":{"node":">=6.0.0"},"browser":{"ws":false,"uws":false,"erlpack":false,"prism-media":false,"opusscript":false,"node-opus":false,"tweetnacl":false,"sodium":false,"src/sharding/Shard.js":false,"src/sharding/ShardClientUtil.js":false,"src/sharding/ShardingManager.js":false,"src/client/voice/dispatcher/StreamDispatcher.js":false,"src/client/voice/opus/BaseOpusEngine.js":false,"src/client/voice/opus/NodeOpusEngine.js":false,"src/client/voice/opus/OpusEngineList.js":false,"src/client/voice/opus/OpusScriptEngine.js":false,"src/client/voice/pcm/ConverterEngine.js":false,"src/client/voice/pcm/ConverterEngineList.js":false,"src/client/voice/pcm/FfmpegConverterEngine.js":false,"src/client/voice/player/AudioPlayer.js":false,"src/client/voice/receiver/VoiceReadable.js":false,"src/client/voice/receiver/VoiceReceiver.js":false,"src/client/voice/util/Secretbox.js":false,"src/client/voice/util/SecretKey.js":false,"src/client/voice/util/VolumeInterface.js":false,"src/client/voice/ClientVoiceManager.js":false,"src/client/voice/VoiceBroadcast.js":false,"src/client/voice/VoiceConnection.js":false,"src/client/voice/VoiceUDPClient.js":false,"src/client/voice/VoiceWebSocket.js":false}}
|
||||
module.exports = {"name":"discord.js","version":"11.3.0","description":"A powerful library for interacting with the Discord API","main":"./src/index","types":"./typings/index.d.ts","scripts":{"test":"npm run lint && npm run docs:test","docs":"docgen --source src --custom docs/index.yml --output docs/docs.json","docs:test":"docgen --source src --custom docs/index.yml","lint":"eslint src","lint:fix":"eslint --fix src","webpack":"parallel-webpack"},"repository":{"type":"git","url":"git+https://github.com/discordjs/discord.js.git"},"keywords":["discord","api","bot","client","node","discordapp"],"author":"Amish Shah <amishshah.2k@gmail.com>","license":"Apache-2.0","bugs":{"url":"https://github.com/discordjs/discord.js/issues"},"homepage":"https://github.com/discordjs/discord.js#readme","runkitExampleFilename":"./docs/examples/ping.js","dependencies":{"long":"^3.2.0","prism-media":"^0.0.1","snekfetch":"^3.6.1","tweetnacl":"^1.0.0","ws":"^4.0.0"},"peerDependencies":{"bufferutil":"^3.0.3","erlpack":"discordapp/erlpack","node-opus":"^0.2.7","opusscript":"^0.0.6","sodium":"^2.0.3","libsodium-wrappers":"^0.5.4","uws":"^9.14.0"},"devDependencies":{"@types/node":"^8.5.7","discord.js-docgen":"discordjs/docgen","eslint":"^4.15.0","parallel-webpack":"^2.2.0","uglifyjs-webpack-plugin":"^1.1.6","webpack":"^3.10.0"},"engines":{"node":">=6.0.0"},"browser":{"ws":false,"uws":false,"erlpack":false,"prism-media":false,"opusscript":false,"node-opus":false,"tweetnacl":false,"sodium":false,"src/sharding/Shard.js":false,"src/sharding/ShardClientUtil.js":false,"src/sharding/ShardingManager.js":false,"src/client/voice/dispatcher/StreamDispatcher.js":false,"src/client/voice/opus/BaseOpusEngine.js":false,"src/client/voice/opus/NodeOpusEngine.js":false,"src/client/voice/opus/OpusEngineList.js":false,"src/client/voice/opus/OpusScriptEngine.js":false,"src/client/voice/pcm/ConverterEngine.js":false,"src/client/voice/pcm/ConverterEngineList.js":false,"src/client/voice/pcm/FfmpegConverterEngine.js":false,"src/client/voice/player/AudioPlayer.js":false,"src/client/voice/receiver/VoiceReadable.js":false,"src/client/voice/receiver/VoiceReceiver.js":false,"src/client/voice/util/Secretbox.js":false,"src/client/voice/util/SecretKey.js":false,"src/client/voice/util/VolumeInterface.js":false,"src/client/voice/ClientVoiceManager.js":false,"src/client/voice/VoiceBroadcast.js":false,"src/client/voice/VoiceConnection.js":false,"src/client/voice/VoiceUDPClient.js":false,"src/client/voice/VoiceWebSocket.js":false}}
|
||||
|
||||
/***/ }),
|
||||
/* 36 */
|
||||
|
|
@ -15378,7 +15378,7 @@ class ClientUser extends User {
|
|||
* @returns {Promise<Presence>}
|
||||
*/
|
||||
setActivity(name, { url, type } = {}) {
|
||||
if (!name) return this.setPresence({ activity: null });
|
||||
if (!name) return this.setPresence({ game: null });
|
||||
return this.setPresence({
|
||||
game: { name, type, url },
|
||||
});
|
||||
|
|
@ -16419,7 +16419,7 @@ var objectKeys = Object.keys || function (obj) {
|
|||
/* 66 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = {"_args":[[{"raw":"snekfetch@^3.3.0","scope":null,"escapedName":"snekfetch","name":"snekfetch","rawSpec":"^3.3.0","spec":">=3.3.0 <4.0.0","type":"range"},"/home/travis/build/hydrabolt/discord.js"]],"_from":"snekfetch@>=3.3.0 <4.0.0","_id":"snekfetch@3.6.1","_inCache":true,"_location":"/snekfetch","_nodeVersion":"9.2.0","_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snekfetch-3.6.1.tgz_1512521936072_0.6785762289073318"},"_npmUser":{"name":"snek","email":"me@gus.host"},"_npmVersion":"5.5.1","_phantomChildren":{},"_requested":{"raw":"snekfetch@^3.3.0","scope":null,"escapedName":"snekfetch","name":"snekfetch","rawSpec":"^3.3.0","spec":">=3.3.0 <4.0.0","type":"range"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/snekfetch/-/snekfetch-3.6.1.tgz","_shasum":"9b77fa946cfa15c7041940593a2689dc547427ea","_shrinkwrap":null,"_spec":"snekfetch@^3.3.0","_where":"/home/travis/build/hydrabolt/discord.js","author":{"name":"Gus Caplan","email":"me@gus.host"},"browser":{"./src/node/index.js":false,"./src/meta.js":false},"bugs":{"url":"https://github.com/devsnek/snekfetch/issues"},"dependencies":{},"description":"Just do http requests without all that weird nastiness from other libs","devDependencies":{"coveralls":"^3.0.0","docma":"^1.5.1","eslint":"^4.8.0","jest":"^21.2.1","jsdoc-dynamic":"^1.0.4","json-filter-loader":"^1.0.0","node-fetch":"github:bitinn/node-fetch","uglifyjs-webpack-plugin":"^1.0.0-beta.2","webpack":"^3.8.1"},"directories":{},"dist":{"integrity":"sha512-aLEvf1YR440pINb0LEo/SL2Q2s/A26+YEqPlx09A0XpGH7qWp8iqIFFolVILHn2yudWXJne9QWyQu+lzDp+ksQ==","shasum":"9b77fa946cfa15c7041940593a2689dc547427ea","tarball":"https://registry.npmjs.org/snekfetch/-/snekfetch-3.6.1.tgz"},"gitHead":"ac841a9405292502aad905ec3c63ce28ddd82f24","homepage":"https://snekfetch.js.org/","jest":{"collectCoverage":true,"collectCoverageFrom":["src/**/*.js","!src/qs_mock.js","!src/node/mimeOfBuffer.js","!src/node/transports/http2.js"],"verbose":true},"jsdelivr":"browser.js","license":"MIT","main":"index.js","maintainers":[{"name":"snek","email":"me@gus.host"}],"module":"esm.mjs","name":"snekfetch","optionalDependencies":{},"readme":"ERROR: No README data found!","repository":{"type":"git","url":"git+https://github.com/devsnek/snekfetch.git"},"scripts":{"build:browser":"webpack","docs":"node docs.js","lint":"npx eslint src","prepublish":"npm run build:browser","test":"node ./node_modules/.bin/jest","test:coveralls":"cat ./coverage/lcov.info | coveralls"},"unpkg":"browser.js","version":"3.6.1"}
|
||||
module.exports = {"_args":[[{"raw":"snekfetch@^3.6.1","scope":null,"escapedName":"snekfetch","name":"snekfetch","rawSpec":"^3.6.1","spec":">=3.6.1 <4.0.0","type":"range"},"/home/travis/build/discordjs/discord.js"]],"_from":"snekfetch@>=3.6.1 <4.0.0","_id":"snekfetch@3.6.1","_inCache":true,"_location":"/snekfetch","_nodeVersion":"9.2.0","_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/snekfetch-3.6.1.tgz_1512521936072_0.6785762289073318"},"_npmUser":{"name":"snek","email":"me@gus.host"},"_npmVersion":"5.5.1","_phantomChildren":{},"_requested":{"raw":"snekfetch@^3.6.1","scope":null,"escapedName":"snekfetch","name":"snekfetch","rawSpec":"^3.6.1","spec":">=3.6.1 <4.0.0","type":"range"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/snekfetch/-/snekfetch-3.6.1.tgz","_shasum":"9b77fa946cfa15c7041940593a2689dc547427ea","_shrinkwrap":null,"_spec":"snekfetch@^3.6.1","_where":"/home/travis/build/discordjs/discord.js","author":{"name":"Gus Caplan","email":"me@gus.host"},"browser":{"./src/node/index.js":false,"./src/meta.js":false},"bugs":{"url":"https://github.com/devsnek/snekfetch/issues"},"dependencies":{},"description":"Just do http requests without all that weird nastiness from other libs","devDependencies":{"coveralls":"^3.0.0","docma":"^1.5.1","eslint":"^4.8.0","jest":"^21.2.1","jsdoc-dynamic":"^1.0.4","json-filter-loader":"^1.0.0","node-fetch":"github:bitinn/node-fetch","uglifyjs-webpack-plugin":"^1.0.0-beta.2","webpack":"^3.8.1"},"directories":{},"dist":{"integrity":"sha512-aLEvf1YR440pINb0LEo/SL2Q2s/A26+YEqPlx09A0XpGH7qWp8iqIFFolVILHn2yudWXJne9QWyQu+lzDp+ksQ==","shasum":"9b77fa946cfa15c7041940593a2689dc547427ea","tarball":"https://registry.npmjs.org/snekfetch/-/snekfetch-3.6.1.tgz"},"gitHead":"ac841a9405292502aad905ec3c63ce28ddd82f24","homepage":"https://snekfetch.js.org/","jest":{"collectCoverage":true,"collectCoverageFrom":["src/**/*.js","!src/qs_mock.js","!src/node/mimeOfBuffer.js","!src/node/transports/http2.js"],"verbose":true},"jsdelivr":"browser.js","license":"MIT","main":"index.js","maintainers":[{"name":"snek","email":"me@gus.host"}],"module":"esm.mjs","name":"snekfetch","optionalDependencies":{},"readme":"ERROR: No README data found!","repository":{"type":"git","url":"git+https://github.com/devsnek/snekfetch.git"},"scripts":{"build:browser":"webpack","docs":"node docs.js","lint":"npx eslint src","prepublish":"npm run build:browser","test":"node ./node_modules/.bin/jest","test:coveralls":"cat ./coverage/lcov.info | coveralls"},"unpkg":"browser.js","version":"3.6.1"}
|
||||
|
||||
/***/ }),
|
||||
/* 67 */
|
||||
|
|
@ -17416,7 +17416,7 @@ class RESTMethods {
|
|||
if (allow instanceof Array) allow = Permissions.resolve(allow);
|
||||
if (deny instanceof Array) deny = Permissions.resolve(deny);
|
||||
|
||||
const role = this.client.resolver.resolveRole(this, overwrite.id);
|
||||
const role = this.client.resolver.resolveRole(guild, overwrite.id);
|
||||
if (role) {
|
||||
overwrite.id = role.id;
|
||||
overwrite.type = 'role';
|
||||
|
|
|
|||
2
discord.11.3-dev.min.js
vendored
2
discord.11.3-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue