{"_id":"@4lch4/discord.js","_rev":"3-d198752a08b3998158dbada3f48ff475","name":"@4lch4/discord.js","dist-tags":{"latest":"12.5.0"},"versions":{"12.5.0":{"name":"@4lch4/discord.js","version":"12.5.0","description":"A fork of the discord.js library to be maintained by myself alongside the original.","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 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/4lch4/discord.js.git"},"keywords":["discord","api","bot","client","node","discordapp","4lch4"],"author":{"name":"4lch4","email":"djs@4lch4.dev","url":"https://4lch4.dev"},"license":"Apache-2.0","bugs":{"url":"https://github.com/4lch4/discord.js/issues"},"homepage":"https://github.com/4lch4/discord.js#readme","runkitExampleFilename":"./docs/examples/ping.js","unpkg":"./webpack/discord.min.js","dependencies":{"@discordjs/collection":"^0.1.6","@discordjs/form-data":"^3.0.1","abort-controller":"^3.0.0","nan":"^2.14.2","node-fetch":"^2.6.1","prism-media":"^1.2.2","setimmediate":"^1.0.5","tweetnacl":"^1.0.3","ws":"^7.3.1"},"devDependencies":{"@commitlint/cli":"^11.0.0","@commitlint/config-angular":"^11.0.0","@types/node":"^12.12.6","@types/ws":"^7.2.7","cross-env":"^7.0.2","discord.js-docgen":"git+https://github.com/discordjs/docgen.git","dtslint":"^4.0.4","eslint":"^7.11.0","eslint-config-prettier":"^6.13.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","husky":"^4.3.0","jest":"^26.6.0","json-filter-loader":"^1.0.0","lint-staged":"^10.4.2","prettier":"^2.1.2","terser-webpack-plugin":"^4.2.3","tslint":"^6.1.3","typescript":"^4.0.3","webpack":"^4.44.2","webpack-cli":"^3.3.12"},"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"},"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"]]}},"prettier":{"singleQuote":true,"printWidth":120,"trailingComma":"all","endOfLine":"lf","arrowParens":"avoid"},"gitHead":"09f43e317fd2e0c585da28fd7a37bff892a719d6","_id":"@4lch4/discord.js@12.5.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-JSEjtPlsLQqXKz3z2l0X1/iA0zRsOYa3DsMzpUYuKUGttNhIwb1R8/UMRNbk4NASL+kutlq3mVxgPUjm9CFTjA==","shasum":"e85c87a66946c7e7ec51ee0b9ff548571c287802","tarball":"https://registry.npmjs.org/@4lch4/discord.js/-/discord.js-12.5.0.tgz","fileCount":194,"unpackedSize":1086301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCM7WCRA9TVsSAnZWagAAbFEP+wZM3b7kWTIxRZBCc8Im\nunhU48UcDNxVhoXxJBMHl8dxipHq6Q1piAz1ID4IE0V/KCrSpw0CVzwaeGkJ\nie0jiaVWcyMkNldbboJNuA4CoJAgsJg7QS1ayXdSk/9oqeNuAvSLp6Ad07DU\nLJemnCWWnsmxEsoEEIEgWfxDTtFoCS5fpz+Wr//Y6gMCEa1utzgHVNswrx3G\nonfb/HNws2r+NIbF3PsPSbiuCF0rqGtUB1KICsOMxzjauC1aSpPAUWE2iDvA\n1rCAHZ3Wp+KRJqsSKkpNWhpcS+QgVQnExR+HOMPVVXJ69MeuXYPd7BNii8/C\n60Od34gjJ97j/cYs/XjLDK9MlZinC2LOSBCHfEi8w2pxuxygO3loTP2QUmrs\nQfSPM0X8zwnUePGWzjzB3dFYUEx8bM/mNLx+cTu4rV+kQKNE9oyclaDvGMCx\n4lHUdt3950w4rM4F+L6qKDTIcsnGq8ylqEoKjlddJ8KqtpNqOLCe90Sueshb\n/iSeTNAcZYCD3uCbvNRj7/dHgbkxbXlbEAn4RVS7DjHqTdMUaw5mhcJZx6oe\nVkfgaX47RvJCVHT4Mq8VKADayr00Gf1Tf+MimYs3/qH05gz3t4EXe/q7qitm\nrlpTUzlhMMOPp7aTdhJgqDlcNnd9TDh95NfQEDwups1gqFmfm61ps6bkiy3A\nJDGR\r\n=+mGc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlW4rwmaT36/8plgDWuUc257fkG/fXfyzp1h0JnH+zgwIgB99hSDfCX6N8U8sBXIqgL2ooAiaqKieLGV09M3xJWco="}]},"_npmUser":{"name":"alcha","email":"alcha@hasslefree.solutions"},"directories":{},"maintainers":[{"name":"alcha","email":"alcha@hasslefree.solutions"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/discord.js_12.5.0_1611189973486_0.0022835323556178455"},"_hasShrinkwrap":false,"deprecated":"I no longer use Discord.js for Discord bots so I'm deprecating this package. Feel free to fork and maintain it yourself."}},"time":{"created":"2021-01-21T00:46:13.307Z","12.5.0":"2021-01-21T00:46:13.746Z","modified":"2023-11-05T19:18:27.330Z"},"maintainers":[{"email":"inbox@4lch4.dev","name":"4lch4-ci"},{"email":"alcha@hasslefree.solutions","name":"alcha"}],"description":"A fork of the discord.js library to be maintained by myself alongside the original.","homepage":"https://github.com/4lch4/discord.js#readme","keywords":["discord","api","bot","client","node","discordapp","4lch4"],"repository":{"type":"git","url":"git+https://github.com/4lch4/discord.js.git"},"author":{"name":"4lch4","email":"djs@4lch4.dev","url":"https://4lch4.dev"},"bugs":{"url":"https://github.com/4lch4/discord.js/issues"},"license":"Apache-2.0","readme":"# @4lch4/discord.js\n\nThis is a fork of the original discord.js repo. I have personal issues with the developers of that project so while I don't want to use their package maintained by them, I'll set this up for my projects.\n\nThe remainder of this file is the original README from the discord.js repository.\n\n<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</div>\n\n## Table of contents\n\n- [@4lch4/discord.js](#4lch4discordjs)\n  - [Table of contents](#table-of-contents)\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"}