{"_id":"@assasans/discord.js-webhook","_rev":"2-63ce4ce201de3e3b59c9ba08ad012ee0","name":"@assasans/discord.js-webhook","dist-tags":{"latest":"12.2.1"},"versions":{"12.2.0":{"name":"@assasans/discord.js-webhook","version":"12.2.0","description":"A powerful library for interacting with the Discord API","main":"./src/index","types":"./typings/index.d.ts","exports":{".":[{"require":"./src/index.js","import":"./esm/discord.mjs"},"./src/index.js"],"./esm":"./esm/discord.mjs"},"scripts":{"test":"npm run lint && npm run docs:test && npm run lint:typings","test:typescript":"tsc","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 src --fix","lint:typings":"tslint typings/index.d.ts","prettier":"prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf src/**/*.js typings/**/*.ts","build:browser":"webpack","prepublishOnly":"npm run test && cross-env NODE_ENV=production npm run build:browser"},"repository":{"type":"git","url":"git+https://github.com/discordjs/discord.js.git"},"keywords":["discord","api","bot","client","node","discordapp"],"author":{"name":"Amish Shah","email":"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","unpkg":"./webpack/discord.min.js","dependencies":{"@discordjs/collection":"^0.1.5","@discordjs/form-data":"^3.0.1","abort-controller":"^3.0.0","node-fetch":"^2.6.0","setimmediate":"^1.0.5","tweetnacl":"^1.0.3","ws":"^7.2.1"},"devDependencies":{"@commitlint/cli":"^8.3.5","@commitlint/config-angular":"^8.3.4","@types/node":"^10.12.24","@types/ws":"^7.2.1","cross-env":"^7.0.2","discord.js-docgen":"github:discordjs/docgen","dtslint":"^3.0.0","eslint":"^6.8.0","eslint-config-prettier":"^6.10.0","eslint-plugin-import":"^2.20.1","eslint-plugin-prettier":"^3.1.2","husky":"^4.2.3","jest":"^25.1.0","json-filter-loader":"^1.0.0","lint-staged":"^10.0.8","prettier":"^1.19.1","terser-webpack-plugin":"^1.2.2","tslint":"^6.0.0","typescript":"^3.8.2","webpack":"^4.41.6","webpack-cli":"^3.3.11"},"engines":{"node":">=12.0.0"},"browser":{"@discordjs/opus":false,"https":false,"ws":false,"erlpack":false,"prism-media":false,"opusscript":false,"node-opus":false,"tweetnacl":false,"sodium":false,"worker_threads":false,"zlib-sync":false,"src/sharding/Shard.js":false,"src/sharding/ShardClientUtil.js":false,"src/sharding/ShardingManager.js":false,"src/client/voice/ClientVoiceManager.js":false,"src/client/voice/VoiceBroadcast.js":false,"src/client/voice/VoiceConnection.js":false,"src/client/voice/dispatcher/BroadcastDispatcher.js":false,"src/client/voice/dispatcher/StreamDispatcher.js":false,"src/client/voice/networking/VoiceUDPClient.js":false,"src/client/voice/networking/VoiceWebSocket.js":false,"src/client/voice/player/AudioPlayer.js":false,"src/client/voice/player/BasePlayer.js":false,"src/client/voice/player/BroadcastAudioPlayer.js":false,"src/client/voice/receiver/PacketHandler.js":false,"src/client/voice/receiver/Receiver.js":false,"src/client/voice/util/PlayInterface.js":false,"src/client/voice/util/Secretbox.js":false,"src/client/voice/util/Silence.js":false,"src/client/voice/util/VolumeInterface.js":false},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":"eslint --fix","*.ts":"prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf"},"commitlint":{"extends":["@commitlint/config-angular"],"rules":{"scope-case":[2,"always","pascal-case"],"type-enum":[2,"always",["chore","build","ci","docs","feat","fix","perf","refactor","revert","style","test"]]}},"gitHead":"5fd9f955ce83534bf2649bd6c679eaea89fcef67","_id":"@assasans/discord.js-webhook@12.2.0","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-IbHq17Nps6mBY50qoSOyJ1LUDaJy83VWZSUJKTXi27LyIQvbF7V1Z3iOTx39jiwAlXN2GQB25aRW25SEE//NqA==","shasum":"e3bfc3f8626f6186d9dc86d7731f5ed687eef5c2","tarball":"https://registry.npmjs.org/@assasans/discord.js-webhook/-/discord.js-webhook-12.2.0.tgz","fileCount":187,"unpackedSize":1022100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIZdtCRA9TVsSAnZWagAAqykP/34W21qVdLoLD/x6Vu85\nKOOngMCebb5BxXlS4/wcwcBajGatYBEG5gm8+ZJJKQHylaNhCFwxffgBmP9v\nzOVWDPAl1NI0RC8S9X7qxeQnt5i2CHFu5lm14E59Xt7tYVLbidauMi7wTtZo\n5uNZvotahGu9e1SimRnuFo381HXZNxBjqqhl1oES0pMDhiJVr7A5v1efWG+m\nsS/muSIcKUiq61HyWqKv6qdmQQKfuidon0jsrjt4LhYyopCmXnGLGZ2Lizim\nKVVgOrq4tPDshUAQbfawosWHYhXidQCKAio4iLSjNLWJJUxKDMGy7O5PYRTe\nQ7wINR+zgg3WkgIkUZXyh8BEIql1NWQIOEv+KxnwerQ2IudxJgswsse/Zz7F\nO3DcySPDdzAgxBLv/1OxjguvaV0h450nJmvzs0zs7ziQEUU0R5A/M9LCZgV1\nsOLehhM6+yRSm6CsTpOemYGsYxy3Ngwzwxb/KO0MDfrxkdwAmqoTojjc+dtd\n6vduLPjRf/Jkbt/N/yW8o4w24+QAmPEPl4BEYh3lkT2/XwkQnw7lR9QgXqoo\npdqhMGnTv3p64LcyJUvpr8lSvEFwAcL4myIZEil5Gh8I/H4yBJ3usFjiBar3\nAfeVTT/wEPeeJxTj6g3yfkT6G4iklWoFw+9Y6SglH/DF925QxO5yTfLMfYcO\nLo+p\r\n=o5lg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOtDv48CGZ4OtzamqZSBEzGwLW3KiR1ek9ygVSUGyMGgIhANJMsOLehRa+sJCNVyoXouFC5CwVzFT1mcthdEUMMi7I"}]},"maintainers":[{"name":"assasans","email":"swimmin2@gmail.com"}],"_npmUser":{"name":"assasans","email":"swimmin2@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/discord.js-webhook_12.2.0_1596036973291_0.05707998724045016"},"_hasShrinkwrap":false},"12.2.1":{"name":"@assasans/discord.js-webhook","version":"12.2.1","description":"A powerful library for interacting with the Discord API","main":"./src/index","types":"./typings/index.d.ts","exports":{".":[{"require":"./src/index.js","import":"./esm/discord.mjs"},"./src/index.js"],"./esm":"./esm/discord.mjs"},"scripts":{"test":"npm run lint && npm run docs:test && npm run lint:typings","test:typescript":"tsc","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 src --fix","lint:typings":"tslint typings/index.d.ts","prettier":"prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf src/**/*.js typings/**/*.ts","build:browser":"webpack","prepublishOnly":"npm run test && cross-env NODE_ENV=production npm run build:browser"},"repository":{"type":"git","url":"git+https://github.com/discordjs/discord.js.git"},"keywords":["discord","api","bot","client","node","discordapp"],"author":{"name":"Amish Shah","email":"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","unpkg":"./webpack/discord.min.js","dependencies":{"@discordjs/collection":"^0.1.5","@discordjs/form-data":"^3.0.1","abort-controller":"^3.0.0","node-fetch":"^2.6.0","setimmediate":"^1.0.5","tweetnacl":"^1.0.3","ws":"^7.2.1"},"devDependencies":{"@commitlint/cli":"^8.3.5","@commitlint/config-angular":"^8.3.4","@types/node":"^10.12.24","@types/ws":"^7.2.1","cross-env":"^7.0.2","discord.js-docgen":"github:discordjs/docgen","dtslint":"^3.0.0","eslint":"^6.8.0","eslint-config-prettier":"^6.10.0","eslint-plugin-import":"^2.20.1","eslint-plugin-prettier":"^3.1.2","husky":"^4.2.3","jest":"^25.1.0","json-filter-loader":"^1.0.0","lint-staged":"^10.0.8","prettier":"^1.19.1","terser-webpack-plugin":"^1.2.2","tslint":"^6.0.0","typescript":"^3.8.2","webpack":"^4.41.6","webpack-cli":"^3.3.11"},"engines":{"node":">=12.0.0"},"browser":{"@discordjs/opus":false,"https":false,"ws":false,"erlpack":false,"prism-media":false,"opusscript":false,"node-opus":false,"tweetnacl":false,"sodium":false,"worker_threads":false,"zlib-sync":false,"src/sharding/Shard.js":false,"src/sharding/ShardClientUtil.js":false,"src/sharding/ShardingManager.js":false,"src/client/voice/ClientVoiceManager.js":false,"src/client/voice/VoiceBroadcast.js":false,"src/client/voice/VoiceConnection.js":false,"src/client/voice/dispatcher/BroadcastDispatcher.js":false,"src/client/voice/dispatcher/StreamDispatcher.js":false,"src/client/voice/networking/VoiceUDPClient.js":false,"src/client/voice/networking/VoiceWebSocket.js":false,"src/client/voice/player/AudioPlayer.js":false,"src/client/voice/player/BasePlayer.js":false,"src/client/voice/player/BroadcastAudioPlayer.js":false,"src/client/voice/receiver/PacketHandler.js":false,"src/client/voice/receiver/Receiver.js":false,"src/client/voice/util/PlayInterface.js":false,"src/client/voice/util/Secretbox.js":false,"src/client/voice/util/Silence.js":false,"src/client/voice/util/VolumeInterface.js":false},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":"eslint --fix","*.ts":"prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf"},"commitlint":{"extends":["@commitlint/config-angular"],"rules":{"scope-case":[2,"always","pascal-case"],"type-enum":[2,"always",["chore","build","ci","docs","feat","fix","perf","refactor","revert","style","test"]]}},"gitHead":"bef0fad3fd87c10ec752db9280c53920f8824e4d","_id":"@assasans/discord.js-webhook@12.2.1","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-x9d4o3Br/pH2Ugiz/PnUAcmIdITcfDTRzMs8vRKwJIIzbHXq22FSNPQCocOBAuE3iAMM2AUvlCgSqjb3vBBpYg==","shasum":"329bc885d28896d2b6d0c9aa79f87a2bfed9f874","tarball":"https://registry.npmjs.org/@assasans/discord.js-webhook/-/discord.js-webhook-12.2.1.tgz","fileCount":187,"unpackedSize":1019657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIZ0GCRA9TVsSAnZWagAA8+8QAI4OrZVk2maA3BdaBRnD\nln2QxAvRcHZbAGpjJf7/LQJLahnOWv5BbQeuPyHv57GYFk36WKyCwZMR/bAg\nFOr9yWBldMxQuedZk3HeHRATuvimpM8KFQzGHFBXnRiP4yjvHvVDYhfVDFhi\nWZ4O1QIa7dhyFpLVtHzB9t4QbCPd1k9djwNxAZbK45JojVpAQNzt04atry8H\ntaKuJLlcKpxTW5YDYjVCejgXMpiMmsVZ1cKpvR6KxcjXxO2t2Oe2R0BRab1Y\nPhGNvNRYvxxSR4TP7yUA2vbnWZwEkDUG+/ZJpJelpGsGhh8KvqJeQTTWC1FA\nb25433p8XmSOQq1FHv0jAUpexXTaQUlp1dAYzVj16MUZO37eDkjcYIm5wrg6\nF/avipHY78de6huWPt0QU8LpQGKOWp/fwk4twdGDRhhOBh5UuPjSR1FDIs64\nk6OcG8dfyKu7TjEgLiF/GnBFhLeerf/YPL9ONUkr4zBrvfZy3mwkFUffCGJE\nSN96d45TcPzE0G+cRe/qEm6tJxTvmzB8guWj6nB8Rkt3XSXLfvgId2gFkjr9\nXUm4WmANji7es5vJXf0jGpkfY5hNoLkJFRGbOzfaJ6/Mt6ifSlNXtg7OCvCw\nALrjR6UudVcPs5wAdvadRR2bVCxRVpKxRptfxvw+p+FlxBU1VZxMbE3xGP2T\nU/Wa\r\n=GGGf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHC6qftRTXzeI9wyESC0NqXfPiLEQi3YlIYaGtQomUvPAiAq3YI6RBjxyfgkBZ9n+T81FyDb28i0Xg2WzrOnueMroQ=="}]},"maintainers":[{"name":"assasans","email":"swimmin2@gmail.com"}],"_npmUser":{"name":"assasans","email":"swimmin2@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/discord.js-webhook_12.2.1_1596038405533_0.8828585529099231"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-29T15:36:13.254Z","12.2.0":"2020-07-29T15:36:13.451Z","modified":"2022-04-04T15:50:35.527Z","12.2.1":"2020-07-29T16:00:05.731Z"},"maintainers":[{"name":"assasans","email":"swimmin2@gmail.com"}],"description":"A powerful library for interacting with the Discord API","homepage":"https://github.com/discordjs/discord.js#readme","keywords":["discord","api","bot","client","node","discordapp"],"repository":{"type":"git","url":"git+https://github.com/discordjs/discord.js.git"},"author":{"name":"Amish Shah","email":"amishshah.2k@gmail.com"},"bugs":{"url":"https://github.com/discordjs/discord.js/issues"},"license":"Apache-2.0","readme":"<div align=\"center\">\n  <br />\n  <p>\n    <a href=\"https://discord.js.org\"><img src=\"https://discord.js.org/static/logo.svg\" width=\"546\" alt=\"discord.js\" /></a>\n  </p>\n  <br />\n  <p>\n    <a href=\"https://discord.gg/bRCvFy9\"><img src=\"https://discord.com/api/guilds/222078108977594368/embed.png\" alt=\"Discord server\" /></a>\n    <a href=\"https://www.npmjs.com/package/discord.js\"><img src=\"https://img.shields.io/npm/v/discord.js.svg?maxAge=3600\" alt=\"NPM version\" /></a>\n    <a href=\"https://www.npmjs.com/package/discord.js\"><img src=\"https://img.shields.io/npm/dt/discord.js.svg?maxAge=3600\" alt=\"NPM downloads\" /></a>\n    <a href=\"https://github.com/discordjs/discord.js/actions\"><img src=\"https://github.com/discordjs/discord.js/workflows/Testing/badge.svg\" alt=\"Build status\" /></a>\n    <a href=\"https://david-dm.org/discordjs/discord.js\"><img src=\"https://img.shields.io/david/discordjs/discord.js.svg?maxAge=3600\" alt=\"Dependencies\" /></a>\n    <a href=\"https://www.patreon.com/discordjs\"><img src=\"https://img.shields.io/badge/donate-patreon-F96854.svg\" alt=\"Patreon\" /></a>\n  </p>\n  <p>\n    <a href=\"https://nodei.co/npm/discord.js/\"><img src=\"https://nodei.co/npm/discord.js.png?downloads=true&stars=true\" alt=\"npm installnfo\" /></a>\n  </p>\n</div>\n\n## Table of contents\n\n- [About](#about)\n- [Installation](#installation)\n  - [Audio engines](#audio-engines)\n  - [Optional packages](#optional-packages)\n- [Example Usage](#example-usage)\n- [Links](#links)\n  - [Extensions](#extensions)\n- [Contributing](#contributing)\n- [Help](#help)\n\n## About\n\ndiscord.js is a powerful [Node.js](https://nodejs.org) module that allows you to easily interact with the\n[Discord API](https://discord.com/developers/docs/intro).\n\n- Object-oriented\n- Predictable abstractions\n- Performant\n- 100% coverage of the Discord API\n\n## Installation\n\n**Node.js 12.0.0 or newer is required.**  \nIgnore any warnings about unmet peer dependencies, as they're all optional.\n\nWithout voice support: `npm install discord.js`  \nWith voice support ([@discordjs/opus](https://www.npmjs.com/package/@discordjs/opus)): `npm install discord.js @discordjs/opus`  \nWith voice support ([opusscript](https://www.npmjs.com/package/opusscript)): `npm install discord.js opusscript`\n\n### Audio engines\n\nThe preferred audio engine is @discordjs/opus, as it performs significantly better than opusscript. When both are available, discord.js will automatically choose @discordjs/opus.\nUsing opusscript is only recommended for development environments where @discordjs/opus is tough to get working.\nFor production bots, using @discordjs/opus should be considered a necessity, especially if they're going to be running on multiple servers.\n\n### Optional packages\n\n- [zlib-sync](https://www.npmjs.com/package/zlib-sync) for WebSocket data compression and inflation (`npm install zlib-sync`)\n- [erlpack](https://github.com/discord/erlpack) for significantly faster WebSocket data (de)serialisation (`npm install discord/erlpack`)\n- One of the following packages can be installed for faster voice packet encryption and decryption:\n  - [sodium](https://www.npmjs.com/package/sodium) (`npm install sodium`)\n  - [libsodium.js](https://www.npmjs.com/package/libsodium-wrappers) (`npm install libsodium-wrappers`)\n- [bufferutil](https://www.npmjs.com/package/bufferutil) for a much faster WebSocket connection (`npm install bufferutil`)\n- [utf-8-validate](https://www.npmjs.com/package/utf-8-validate) in combination with `bufferutil` for much faster WebSocket processing (`npm install utf-8-validate`)\n\n## Example usage\n\n```js\nconst Discord = require('discord.js');\nconst client = new Discord.Client();\n\nclient.on('ready', () => {\n  console.log(`Logged in as ${client.user.tag}!`);\n});\n\nclient.on('message', msg => {\n  if (msg.content === 'ping') {\n    msg.reply('pong');\n  }\n});\n\nclient.login('token');\n```\n\n## Links\n\n- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))\n- [Documentation](https://discord.js.org/#/docs/main/master/general/welcome)\n- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide)) - this is still for stable  \n  See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v12.html), including updated and removed items in the library.\n- [Discord.js Discord server](https://discord.gg/bRCvFy9)\n- [Discord API Discord server](https://discord.gg/discord-api)\n- [GitHub](https://github.com/discordjs/discord.js)\n- [NPM](https://www.npmjs.com/package/discord.js)\n- [Related libraries](https://discordapi.com/unofficial/libs.html)\n\n### Extensions\n\n- [RPC](https://www.npmjs.com/package/discord-rpc) ([source](https://github.com/discordjs/RPC))\n\n## Contributing\n\nBefore creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the\n[documentation](https://discord.js.org/#/docs).  \nSee [the contribution guide](https://github.com/discordjs/discord.js/blob/master/.github/CONTRIBUTING.md) if you'd like to submit a PR.\n\n## Help\n\nIf you don't understand something in the documentation, you are experiencing problems, or you just need a gentle\nnudge in the right direction, please don't hesitate to join our official [Discord.js Server](https://discord.gg/bRCvFy9).\n","readmeFilename":"README.md"}