{"_id":"@bugo07/djs-aki","_rev":"2-84b8cb827a9d55e03c9ae96e46283de3","name":"@bugo07/djs-aki","dist-tags":{"latest":"3.3.2"},"versions":{"3.3.1":{"name":"@bugo07/djs-aki","version":"3.3.1","description":"A Discord.js v13 Module that allows you to Create an Akinator Command for Your Discord Bot within Seconds of Installation.","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["akinator","discord.js","aki-api"],"author":{"name":"bugo07"},"license":"Apache-2.0","dependencies":{"@vitalets/google-translate-api":"^7.0.0","aki-api":"^6.0.8","discord.js":"^13.1.0"},"gitHead":"fceebaa7debfcb0281e906ca5106abf743a867d2","_id":"@bugo07/djs-aki@3.3.1","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-5hv43n3/fwDqebBKutf2gB5t6JdqBDaTJXb+0Hk+2VgDiix6QDcuxVA1SQlfwusSwck02XwYI/KLOb4qpAiC6Q==","shasum":"af17477176cc6d2524efad9e40b0b79602833d74","tarball":"https://registry.npmjs.org/@bugo07/djs-aki/-/djs-aki-3.3.1.tgz","fileCount":8,"unpackedSize":42739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3xX7CRA9TVsSAnZWagAADjIP/iihXkT3Jn51OO6uAW8e\n5PGnFI0v4NHqCTn3skx1bck75ZUwtqz4oXvP9spCn6EIsbMxbjWvA0u8OO/s\nlnS+Jl9X+o8QwQQtqaESHsYkprIjuvCbcV4gaNEUN+BdleEy471EqApFjBvb\nbuZ3pTI2Dlb9JSGH+5iQYLpPx9ye1yBmxDuBSL3aqrVCg1oWCAg4LwWyM9yN\neCbzPe6/4/t6epuyD58h+Z0AGqktPNmSpk310Uzz5jGQhmDx3jtaWcoT10+2\n8p9+errulNt8eJmll+PJW7ExvSmvBS87Tj9vGgz8qVw7bz78wYV20aCT1N7h\nkWUaDeGT7f44L9eLR5/XpXNZmFB8mxL2JMlQmbqCLtif87wkEh4uUiP3eR7C\npn99agBB65no0q87ene2YYV0b+kxizdGhT8ab4gYORyiV7L8sqRRrzoipic3\nAHu4+48csIyDDYi8HiuYsS273vm6xZaO1du/kBLEAO1LFYy0hP9HCQNUUVcc\noUcL2hUTqCu/7EIhxoUCYOdyvIm7H23sSFtHJI5ekWYaLMoo6Xn3PCKJUZZz\nhmvXRepsIho8pDGjTmH0RC9aag+GkqbJwKnjZPtseH/o5ulduNzhrYyRYUjJ\ng9YmuuBFmLTOKSf3p9E6qFFveOT2avOaprT6NSxhEGHzV95re8pGPmR/hnpK\nYftS\r\n=FWzY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK+lKMIgr6uRnFSMyRlcwq36gPr+nwn6t7uHU4W4ca2QIgbsBnFP0ZzrPz68wgELW55qrqiQjigJFKamppAJqF8fc="}]},"_npmUser":{"name":"bugo07","email":"grigalagio07@gmail.com"},"directories":{},"maintainers":[{"name":"bugo07","email":"grigalagio07@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/djs-aki_3.3.1_1642010106855_0.9058078565695609"},"_hasShrinkwrap":false},"3.3.2":{"name":"@bugo07/djs-aki","version":"3.3.2","description":"A Discord.js v13 Module that allows you to Create an Akinator Command for Your Discord Bot within Seconds of Installation.","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["akinator","discord.js","aki-api"],"author":{"name":"bugo07"},"license":"Apache-2.0","dependencies":{"@vitalets/google-translate-api":"^7.0.0","aki-api":"^6.0.8","discord.js":"^13.1.0"},"gitHead":"fceebaa7debfcb0281e906ca5106abf743a867d2","_id":"@bugo07/djs-aki@3.3.2","_nodeVersion":"16.10.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-a+cp3NDNYRRnyde5EgZQqdQoQtJPtWO4jnY/JTD3ZQZXHxUtXbFlEn7iVb1iaj2YteCPKi7eMOXh5g/u7Ja5nQ==","shasum":"46f9d7fbdcdffb6b13c3dba2f3536d811378d331","tarball":"https://registry.npmjs.org/@bugo07/djs-aki/-/djs-aki-3.3.2.tgz","fileCount":8,"unpackedSize":42704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7qcECRA9TVsSAnZWagAA1KYP/RTpVzXTatC1GXdogsqb\nv698WT/DzZdSnuOGAa3cQckeo+7rxNl/6mh8V/YUMqMl7vTVnXK56pHbstHk\nRErn488XttU8JBaV382wEc27gYQc7FQzsAsRDj15KnvjuPTUjToJF8gSD+/L\n+/jPZ2AUOVPhIGZOxUcbNod2DLb45nhOPiz3Cy9PKwKVbZ5GnbUTpc+Vu2dx\n1flMCgZOjQvczYy2kxKC+EQJl5CoNyf8S6zkoydcwFnCYcDlWQSUEkOzsVcj\nTu+EyG8Of9dZi8D5UJSl1mYyKC/ew/foNmlKkwSCXbJEdwcFO48n5FzLt3Pm\njw4MoO+ES3PcgOkfj8xJDBw2mzJ8knewXQt3YWF6Tq+GLJA2QMZ9KGwDwYjY\nW/+usVbCs5x77ws75nBx2X6TUBiaL6Xn7bn0+7h/AUUihrHSJpKFwEJc11J+\n8hgVjfAMbuAAnTC6MFKG3L5ZR1bJJM853eGPGS6LumLZGbDunbhCe3L1s8E4\nV0myQLGBkbd/ghG3/tJeGQs59nAj3+aCrfcOpGpB3GEK0xVdvMZeuKaMCAER\n3P9dKkzqubceUEwGmSVeo+IiKEHdw1xFHbwBTn3vRGclfKzf7W5yePjhytWp\nIj224vU279kJTiqESWtKz64HH334qXeHMKzcL6Aciov/RjiOmL8vRTLKHCOq\nJwdF\r\n=yren\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFfEfM/6zVn3Q23O+ij2xVjSnUe0qX1MY4s2gjQwQrLAiB0wrlBsWK6W1eyf1p8JNxRDZIlAqdXtUhANJKm5f+5kg=="}]},"_npmUser":{"name":"bugo07","email":"grigalagio07@gmail.com"},"directories":{},"maintainers":[{"name":"bugo07","email":"grigalagio07@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/djs-aki_3.3.2_1643030276638_0.49163118193400224"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-12T17:55:06.796Z","3.3.1":"2022-01-12T17:55:07.278Z","modified":"2022-04-04T20:59:47.293Z","3.3.2":"2022-01-24T13:17:56.788Z"},"maintainers":[{"name":"bugo07","email":"grigalagio07@gmail.com"}],"description":"A Discord.js v13 Module that allows you to Create an Akinator Command for Your Discord Bot within Seconds of Installation.","keywords":["akinator","discord.js","aki-api"],"author":{"name":"bugo07"},"license":"Apache-2.0","readme":"<h1 align=\"center\">\r\n    🔮 Discord.js Akinator 🔮\r\n</h1>\r\n\r\nA Discord.js v13 Module that allows you to Create an Akinator Command for Your Discord Bot within Seconds of Installation.\r\n\r\n[![NPM](https://nodei.co/npm/discord.js-akinator.png)](https://npmjs.com/package/discord.js-akinator)\r\n\r\n[![Downloads](https://img.shields.io/npm/dt/discord.js-akinator?logo=npm&style=flat-square)](https://npmjs.com/package/discord.js-akinator) [![Discord Server](https://img.shields.io/discord/667479986214666272?logo=discord&logoColor=white&style=flat-square)](https://discord.gg/P2g24jp)\r\n\r\n## Features\r\n\r\n- 🌎 <b>100+ Languages Supported!</b> | Lightning fast translation has been made possible by Google Translate and hard-coded mappings!\r\n\r\n- ▶️ <b>Buttons!</b> | Don't want to type out responses to questions? This package gives you the option to use discord's buttons to easily click your answer of choice!\r\n\r\n- 🎮 <b>Multiple Game Types!</b> | This package will allow you to choose whether Akinator will guess an Animal, Character or Object!\r\n\r\n- 🙋 <b>Child Mode!</b> | Want to filter out NSFW questions? You can choose to enable Akinator's Child Mode to keep your games squeaky clean!\r\n\r\n- ⚡️ <b>Quick & Easy Setup</b> | This package was built with the intentions of working out-of-the-box. Only one parameter is required at least!\r\n\r\n## Install Package\r\n\r\nLet's take a look at how you can install this package into your Discord Bot Project.\r\n\r\n`npm i discord.js-akinator --save`\r\n\r\nFor versions 3.0.0 and Above, you'll also need discord.js v13. This can easily be installed with:\r\n\r\n`npm i discord.js@13 --save`\r\n\r\nFor versions earlier than 3.0.0, you'll need discord.js v12. However it is recommended you update to patch bugs and security vulnerabilities, as well as get the newest features from this package!\r\n\r\n`npm i discord.js@12 --save`\r\n\r\n## Example Code\r\n\r\n```js\r\nconst { Client, Intents } = require(\"discord.js\");\r\nconst akinator = require(\"discord.js-akinator\");\r\nconst client = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES] });\r\n\r\nclient.on(\"ready\", () => {\r\n    console.log(\"Bot is Online\")\r\n});\r\n\r\nconst PREFIX = \"!\";\r\n\r\n//Example options\r\n\r\nconst language = \"en\"; //The Language of the Game\r\nconst childMode = false; //Whether to use Akinator's Child Mode\r\nconst gameType = \"character\"; //The Type of Akinator Game to Play. (\"animal\", \"character\" or \"object\")\r\nconst useButtons = true; //Whether to use Discord's Buttons\r\nconst embedColor = \"#1F1E33\"; //The Color of the Message Embeds\r\n\r\nclient.on(\"messageCreate\", async message => {\r\n    if(message.content.startsWith(`${PREFIX}akinator`)) {\r\n        akinator(message, {\r\n            language: language, //Defaults to \"en\"\r\n            childMode: childMode, //Defaults to \"false\"\r\n            gameType: gameType, //Defaults to \"character\"\r\n            useButtons: useButtons, //Defaults to \"false\"\r\n            embedColor: embedColor //Defaults to \"RANDOM\"\r\n        });\r\n    }\r\n});\r\n\r\nclient.login(\"Discord Bot Token\")\r\n```\r\n\r\n## Contributors\r\n\r\n- [ChaosArising (Josh_#9733)](https://github.com/ChaosArising) (Providing compatibility for Discord.js v13)\r\n\r\n- [3061LRTAGSPKJMORMRT (Ashish#0540)](https://github.com/3061LRTAGSPKJMORMRT) (Error handling and writing much cleaner code)\r\n\r\n## Contact Us\r\n\r\n- 👋 Need Help? [Join Our Discord Server](https://discord.gg/P2g24jp)!\r\n\r\n- 👾 Found a Bug, or Inaccurate Translations? [Open an Issue](https://github.com/WillTDA/Discord.js-Akinator-Package-Dev/issues), or Fork and [Submit a Pull Request](https://github.com/WillTDA/Discord.js-Akinator-Package-Dev/pulls) on our [GitHub Repository](https://github.com/WillTDA/Discord.js-Akinator-Package-Dev)!\r\n","readmeFilename":"README.md"}