{"_id":"@doridian/discord.js","_rev":"3-36022a67cb9ecaee491d11e794923fda","name":"@doridian/discord.js","description":"A way to interface with the Discord API","dist-tags":{"latest":"8.0.0"},"versions":{"8.0.0":{"name":"@doridian/discord.js","version":"8.0.0","description":"A way to interface with the Discord API","main":"./entrypoint.js","scripts":{"test":"eslint *.js src test && node test/lib-test.js"},"repository":{"type":"git","url":"git+https://github.com/hydrabolt/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/hydrabolt/discord.js/issues"},"homepage":"https://github.com/hydrabolt/discord.js#readme","dependencies":{"superagent":"^1.8.3","unpipe":"^1.0.0","ws":"^1.1.0","node-opus":"^0.2.0","tweetnacl":"^0.14.3"},"devDependencies":{"colors":"^1.1.2","eslint":"^1.10.3","grunt":"^0.4.5","grunt-babel":"<6.0.0","grunt-browserify":"^4.0.1","grunt-contrib-uglify":"^0.11.0","load-grunt-tasks":"^3.4.0","mocha":"^2.4.5"},"optionalDependencies":{"node-opus":"^0.2.0","tweetnacl":"^0.14.3"},"engines":{"node":">=0.12.7"},"browser":{"./src/Util/TokenCacher.js":"./src/Util/TokenCacher-shim.js","./lib/Util/TokenCacher.js":"./lib/Util/TokenCacher-shim.js"},"gitHead":"5a86ffdf5f10fb34fc0510f8c5b8398c2a78463d","_id":"@doridian/discord.js@8.0.0","_shasum":"a1342edc5519a3c851b83256e64c5e73e699f03e","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.0","_npmUser":{"name":"doridian","email":"mriq91@gmail.com"},"dist":{"shasum":"a1342edc5519a3c851b83256e64c5e73e699f03e","tarball":"https://registry.npmjs.org/@doridian/discord.js/-/discord.js-8.0.0.tgz","integrity":"sha512-b1rMU8M27VIZR6VIvFEKYAzfGT9AES/aUVrGb5fYL9fO+/0dqMAh8Il3ToMqjBEvkFjZHLnOqHC1EtIxUoUXyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA9hmAhK8TZsNHVeZsoZLpgtqKfXSidlua8uBprJgvCHAiEAk4rE8MRTMFfp1pY7IBvERp1fEySOklqaBsvGou2o2z0="}]},"maintainers":[{"name":"doridian","email":"mriq91@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/discord.js-8.0.0.tgz_1468513928576_0.6536278850398958"}}},"readme":"<p align=\"center\">\r\n  <a href=\"https://hydrabolt.github.io/discord.js\">\r\n    <img alt=\"discord.js\" src=\"http://hydrabolt.github.io/discord.js/res/logo.png\" width=\"546\">\r\n  </a>\r\n</p>\r\n\r\n[![Build Status](https://travis-ci.org/hydrabolt/discord.js.svg)](https://travis-ci.org/hydrabolt/discord.js) [![Documentation Status](https://readthedocs.org/projects/discordjs/badge/?version=latest)](http://discordjs.readthedocs.org/en/latest/?badge=latest)\r\n\r\n[![NPM](https://nodei.co/npm/discord.js.png?downloads=true&stars=true)](https://nodei.co/npm/discord.js/)\r\n\r\n\r\ndiscord.js is a node module used as a way of interfacing with [Discord](https://discordapp.com/). It is a very useful module for creating bots.\r\n\r\n### Installation\r\n\r\n**Requires node 0.12+**\r\n\r\n`npm install --save discord.js`\r\n\r\nIf you don't need voice support:\r\n\r\n`npm install --save --no-optional discord.js`\r\n\r\n---\r\n\r\n### Example: ping-pong\r\n```js\r\nvar Discord = require(\"discord.js\");\r\n\r\nvar mybot = new Discord.Client();\r\n\r\nmybot.on(\"message\", function(message) {\r\n\tif(message.content === \"ping\") {\r\n\t\tmybot.reply(message, \"pong\");\r\n    }\r\n});\r\n\r\nmybot.loginWithToken(\"token\");\r\n// If you still need to login with email and password, use mybot.login(\"email\", \"password\");\r\n```\r\n---\r\n\r\n### Contributing\r\n\r\nFeel free to contribute! Just clone the repo and edit the files in the **src folder, not the lib folder.**\r\n\r\nWhenever you come to making a pull request, make sure it's to the *indev* branch and that you have built the lib files by running `grunt --dev`\r\n\r\n---\r\n\r\n### Related Projects\r\n\r\nA list of other Discord API libraries [can be found here](https://discordapi.com/unofficial/libs.html)\r\n\r\n---\r\n\r\n### Links\r\n**[Documentation](http://discordjs.readthedocs.org/en/latest/)**\r\n\r\n**[GitHub](https://github.com/discord-js/discord.js)**\r\n\r\n**[Wiki](https://github.com/discord-js/discord.js/wiki)**\r\n\r\n**[Website](http://hydrabolt.github.io/discord.js/)**\r\n\r\n**[NPM](http://npmjs.com/package/discord.js)**\r\n\r\n---\r\n\r\n### Contact\r\n\r\nIf you have an issue or want to know if a feature exists, [read the documentation](http://discordjs.readthedocs.org/en/latest/) before contacting me about any issues! If it's badly/wrongly implemented, let me know!\r\n\r\n\r\nIf you would like to contact me, you can create an issue on the GitHub repo, e-mail me via the one available on my NPM profile.\r\n\r\nAlternatively, you could just send a DM to **hydrabolt** in [**Discord API**](https://discord.gg/0SBTUU1wZTYd2XyW).\r\n","maintainers":[{"name":"doridian","email":"mriq91@gmail.com"}],"time":{"modified":"2022-06-12T17:19:50.811Z","created":"2016-07-14T16:32:11.314Z","8.0.0":"2016-07-14T16:32:11.314Z"},"homepage":"https://github.com/hydrabolt/discord.js#readme","keywords":["discord","api","bot","client","node","discordapp"],"repository":{"type":"git","url":"git+https://github.com/hydrabolt/discord.js.git"},"author":{"name":"Amish Shah","email":"amishshah.2k@gmail.com"},"bugs":{"url":"https://github.com/hydrabolt/discord.js/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}