{"_id":"@alex-taxiera/eris","_rev":"1-5ba670c4922648c0aa92c25425800af5","name":"@alex-taxiera/eris","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@alex-taxiera/eris","version":"0.0.1","description":"A NodeJS Discord library","main":"./index.js","exports":{".":[{"require":"./index.js","import":"./esm.mjs"},"./index.js"],"./":"./","./esm":"./esm.mjs"},"typings":"./index.d.ts","engines":{"node":">=10.4.0"},"scripts":{"lint:js":"eslint -c .eslintrc.yml lib examples *.js","lint:js:fix":"eslint -c .eslintrc.yml lib examples *.js --fix && echo \"\u001b[1m\u001b[32mOK\u001b[39m\u001b[22m\" || echo \"\u001b[1m\u001b[31mNot OK\u001b[39m\u001b[22m\"","lint:ts":"eslint -c .eslintrc.ts.yml *.ts","lint:ts:fix":"eslint -c .eslintrc.ts.yml *.ts --fix && echo \"\u001b[1m\u001b[32mOK\u001b[39m\u001b[22m\" || echo \"\u001b[1m\u001b[31mNot OK\u001b[39m\u001b[22m\""},"repository":{"type":"git","url":"git+https://github.com/abalabahaha/eris.git"},"keywords":["api","discord","discordapp","eris","wrapper"],"author":{"name":"abalabahaha"},"license":"MIT","bugs":{"url":"https://github.com/abalabahaha/eris/issues"},"homepage":"https://abal.moe/Eris/","dependencies":{"ws":"^8.2.3","opusscript":"^0.0.8","tweetnacl":"^1.0.3"},"devDependencies":{"@types/node":"^16.11.7","@types/ws":"^8.2.0","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","eslint":"^7.32.0","eslint-plugin-sort-class-members":"^1.14.0","typescript":"^4.4.4"},"optionalDependencies":{"opusscript":"^0.0.8","tweetnacl":"^1.0.3"},"browser":{"@discordjs/opus":false,"child_process":false,"dgram":false,"dns":false,"fs":false,"tls":false,"tweetnacl":false,"ws":false},"gitHead":"c547452aa699fd1831f9068a904d3b1266540ddc","_id":"@alex-taxiera/eris@0.0.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-RHTT/CfYkKKy3sxLVNyDjjpIVJngJMzAhsSwj+t1UMhcjNDVHqJ21gPY+a1blr1mKFoHasyReFX8ba6tkEXn+w==","shasum":"4706d1adb7ca8877e5e453f52b517462d64a1da8","tarball":"https://registry.npmjs.org/@alex-taxiera/eris/-/eris-0.0.1.tgz","fileCount":79,"unpackedSize":1047513,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAYiA0u+l8/K/EeyOj+jewxJlBliLK32D77remqkJoHmAiBfQa031HsHVNWE2sAacZhKRFNfgxTh3OYtz02q+m4wbw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuORAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmquxg//VdzFZB194s9/Jq+Z4fyv/dKpwLmtRCeh+ciW82BMrmBPjelU\r\negO7Eb+e6T8eZLgdT3NWBAi+LmExd0rv8NmsQQy7eyv12xpFLwqIkpIerK7O\r\nYKy29hYYK1D7fXwvnTdGPIesPjYfcg1XlpuT57ZXiEju74BrjZwauOS7sdnd\r\n6SnO8l99j8psnoor9KxinhqYV06aPwMdP3IaW34Izp6ggY2i42vYf4TstvT1\r\nyZVvipFJVo6I72RVB8nsVMeSbzzG6dRlWcn1ImEyfp9eumE5uCxjH0BUIZD1\r\ngyip9nohxVKs7tziUzs/Z6oGpAUuZvTg8YbNBQ/lqgHpXrqHP6DGxHAmAYcd\r\nHCR93b5sUOphfP4Mh6NAeDBIOpuvJJy+uN4DoQ1XnBCgimiXkJlAKzCXNkUg\r\nQiS84oCtfJZTqi7eqeBOumb2rtuTB5WlFE5+9Cxxq6MHPZI4KQc2zWmDL9sm\r\nO5tciFngn3Ia0MZ30Yb5XWWq2NCpDhLdLxkSWEnWHKshjIbC0wwLpamaY7aP\r\n4/ndqpLaF5Ew0ppubGNR0jst6Zbfl7103S7FUjc259BIwx6CTkjOlb1lRFnW\r\nSlZj2dFCugWRVvO0sNWzUHlRIqsQ7+6ri1itvPfCbQy2Y6WWd8S/0JOEDBR7\r\nm4oKcjXRZHDANq+J629+bG2+b9D0dl8zmA8=\r\n=6pL4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alextaxiera","email":"alex.taxiera@gmail.com"},"directories":{},"maintainers":[{"name":"alextaxiera","email":"alex.taxiera@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eris_0.0.1_1656284223912_0.762116072472665"},"_hasShrinkwrap":false},"0.0.2":{"name":"@alex-taxiera/eris","version":"0.0.2","description":"A NodeJS Discord library","main":"./index.js","exports":{".":[{"require":"./index.js","import":"./esm.mjs"},"./index.js"],"./":"./","./esm":"./esm.mjs"},"typings":"./index.d.ts","engines":{"node":">=10.4.0"},"scripts":{"lint:js":"eslint -c .eslintrc.yml lib examples *.js","lint:js:fix":"eslint -c .eslintrc.yml lib examples *.js --fix && echo \"\u001b[1m\u001b[32mOK\u001b[39m\u001b[22m\" || echo \"\u001b[1m\u001b[31mNot OK\u001b[39m\u001b[22m\"","lint:ts":"eslint -c .eslintrc.ts.yml *.ts","lint:ts:fix":"eslint -c .eslintrc.ts.yml *.ts --fix && echo \"\u001b[1m\u001b[32mOK\u001b[39m\u001b[22m\" || echo \"\u001b[1m\u001b[31mNot OK\u001b[39m\u001b[22m\""},"repository":{"type":"git","url":"git+https://github.com/abalabahaha/eris.git"},"keywords":["api","discord","discordapp","eris","wrapper"],"author":{"name":"abalabahaha"},"license":"MIT","bugs":{"url":"https://github.com/abalabahaha/eris/issues"},"homepage":"https://abal.moe/Eris/","dependencies":{"ws":"^8.2.3","opusscript":"^0.0.8","tweetnacl":"^1.0.3"},"devDependencies":{"@types/node":"^16.11.7","@types/ws":"^8.2.0","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","eslint":"^7.32.0","eslint-plugin-sort-class-members":"^1.14.0","typescript":"^4.4.4"},"optionalDependencies":{"opusscript":"^0.0.8","tweetnacl":"^1.0.3"},"browser":{"@discordjs/opus":false,"child_process":false,"dgram":false,"dns":false,"fs":false,"tls":false,"tweetnacl":false,"ws":false},"gitHead":"12db4c6d533677e38207148a76cc9c37eac79011","_id":"@alex-taxiera/eris@0.0.2","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-xyVh7gNxrTcXdlB/uHwbDKiIg/n8kzlpiuvDVSFUFfFosTEeKabp3EBIyqmc10RDTdyJiIcjDpGHEmiAhPzClQ==","shasum":"606226efde56dae91f4600ccc1e42110dfb45ad8","tarball":"https://registry.npmjs.org/@alex-taxiera/eris/-/eris-0.0.2.tgz","fileCount":79,"unpackedSize":1047494,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGFjjYb7BlQGbqnG0qHhiJ6sMsoeEQnydeIV3MCt4ZtAiAkI3tilS8nyiiojN0SnIlrjGVjMuHTsgA5W8L0XqCwlQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuOzqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCMBAAnFm9zpBaa9iYF6QMPm+ee1wJKUgRB+iCKcHYB8h9ogLXR0eI\r\nY+uIMQIkgV2U5TnolfacmyLTwuRCiq+cYbIFJrskLoTMix92ELnBMEOniUIE\r\nB+JJ4uoYRmQpPbW68Zz3y9VTObuHbKhW6l1NIlooA7ZOkC+bZ2v7ElOD+SGO\r\n92RgcyIrwrEIq05X3D7rwrERIETQf4EdLYALilqQnAc90ToTKQm2ZKTvCwQa\r\n4bDeD2nrF2KuWms1UuW0K8TDVXUcSk0mn1SBBpJqhipiXLi0pWm2S4ilVUfv\r\nCiHzoSStH2Kb/CJxZmyHMNAlhkEv9vZzOIjlU4SD9Z804UHzvY/QJPYCKuPF\r\nwH/cqz3EOrBRShkWDrzLQmy4GCHRPPZbbVzvwyA+mO9lh0vn04fxK6UM1S+C\r\nQg17s2x9FGT6hnLdSJzf0dTObD1YoROl0amoZVB8p48Ta7GdD839RhdLHHfl\r\na4roo6Xs49+z1lQbzZvEuPkgUZbjErw1ypSJDX4rKTCMZ9sZ38jPOdSVIcrv\r\na8j/3odGzyeLsfQ5pLZOfkpUpG44ey0+u2VvshqzsIBUhurWn+o6L1GxWcnU\r\n1bHG/D18fa60RKUt83kVN2o0EEUw1Frpk6FyNhcy7pKUodQZuySyO8scw3Wq\r\ndIiS4CzxMiNLlHT5eIUrsdV+WuhMnccFktU=\r\n=Yooz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alextaxiera","email":"alex.taxiera@gmail.com"},"directories":{},"maintainers":[{"name":"alextaxiera","email":"alex.taxiera@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eris_0.0.2_1656286441818_0.011944324789605831"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-26T22:57:03.786Z","0.0.1":"2022-06-26T22:57:04.116Z","modified":"2022-06-26T23:34:02.115Z","0.0.2":"2022-06-26T23:34:02.027Z"},"maintainers":[{"name":"alextaxiera","email":"alex.taxiera@gmail.com"}],"description":"A NodeJS Discord library","homepage":"https://abal.moe/Eris/","keywords":["api","discord","discordapp","eris","wrapper"],"repository":{"type":"git","url":"git+https://github.com/abalabahaha/eris.git"},"author":{"name":"abalabahaha"},"bugs":{"url":"https://github.com/abalabahaha/eris/issues"},"license":"MIT","readme":"Eris [![NPM version](https://img.shields.io/npm/v/eris.svg?style=flat-square&color=informational)](https://npmjs.com/package/eris)\n====\n\nA Node.js wrapper for interfacing with Discord.\n\nInstalling\n----------\n\nYou will need NodeJS 10.4+. If you need voice support you will also need Python 2.7 and a C++ compiler. Refer to [the Getting Started section of the docs](https://abal.moe/Eris/docs) for more details.\n\n```\nnpm install --no-optional eris\n```\n\nIf you need voice support, remove the `--no-optional`.\n\nPing Pong Example\n-----------------\n\n```js\nconst Eris = require(\"eris\");\n\n// Replace TOKEN with your bot account's token\nconst bot = new Eris(\"Bot TOKEN\", {\n    intents: [\n        \"guildMessages\"\n    ]\n});\n\nbot.on(\"ready\", () => { // When the bot is ready\n    console.log(\"Ready!\"); // Log \"Ready!\"\n});\n\nbot.on(\"error\", (err) => {\n  console.error(err); // or your preferred logger\n});\n\nbot.on(\"messageCreate\", (msg) => { // When a message is created\n    if(msg.content === \"!ping\") { // If the message content is \"!ping\"\n        bot.createMessage(msg.channel.id, \"Pong!\");\n        // Send a message in the same channel with \"Pong!\"\n    } else if(msg.content === \"!pong\") { // Otherwise, if the message is \"!pong\"\n        bot.createMessage(msg.channel.id, \"Ping!\");\n        // Respond with \"Ping!\"\n    }\n});\n\nbot.connect(); // Get the bot to connect to Discord\n```\n\nMore examples can be found in [the examples folder](https://github.com/abalabahaha/eris/tree/master/examples).\n\nUseful Links\n------------\n\n- [The website](https://abal.moe/Eris/) has more details and documentation.\n- [The official Eris server](https://abal.moe/Eris/invite) is the best place to get support.\n- [The GitHub repo](https://github.com/abalabahaha/eris) is where development primarily happens.\n- [The NPM package webpage](https://npmjs.com/package/eris) is, well, the webpage for the NPM package.\n\nLicense\n-------\n\nRefer to the [LICENSE](LICENSE) file.\n","readmeFilename":"README.md"}