{"_id":"@azurystudio/dbl-azury","_rev":"9-1f4ba25899d8d9904e240221efc277a3","name":"@azurystudio/dbl-azury","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@azurystudio/dbl-azury","version":"1.0.0","description":"Integrate with Azury Botlist","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["bot","list","discord","api","bots","vote","check","vote","control","force","vote"],"author":{"name":"Azury"},"license":"MIT","dependencies":{"node-fetch":"^2.6.7"},"devDependencies":{},"_id":"@azurystudio/dbl-azury@1.0.0","_nodeVersion":"18.7.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-jYHWdlYEVpHGHgFJcX0Ke7mrwJnvkbjScQq0twtX73b83zLZ4HTqPAdNdOn5YDCJNXYl9MU3ppDmHTib9c2PvA==","shasum":"cc1f9f3acfd765665bc4209450bd5493d2b4cd99","tarball":"https://registry.npmjs.org/@azurystudio/dbl-azury/-/dbl-azury-1.0.0.tgz","fileCount":4,"unpackedSize":5354,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCMjIvU/pBjnjsboiHtCzO/MqzyxqWzZbmD4uBfX83kwIgQ0v6zPGbHUPvtuwkAtjEVT/U5bJCuknUQQEO5+8tIT8="}]},"_npmUser":{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"},"directories":{},"maintainers":[{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dbl-azury_1.0.0_1688863054027_0.6513056329549143"},"_hasShrinkwrap":false,"deprecated":"New versions (1.0.3 or later) have added more features. Please use those versions or use @latest"},"1.0.1":{"name":"@azurystudio/dbl-azury","version":"1.0.1","description":"Integrate with Azury Botlist","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["bot","list","discord","api","bots","vote","check","vote","control","force","vote"],"author":{"name":"Azury"},"license":"MIT","dependencies":{"node-fetch":"^2.6.7"},"devDependencies":{},"_id":"@azurystudio/dbl-azury@1.0.1","_nodeVersion":"18.7.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-6Rbt5z7dYlheihqJ+LHif7dgmvwYm+U3VebzYolBUep1Le54qrDgiSCFCEBTcQajMN2Tx9djN43r1GOg+bntKQ==","shasum":"01db1888bc992e5c5a3bd5097ad0587eb2c4562c","tarball":"https://registry.npmjs.org/@azurystudio/dbl-azury/-/dbl-azury-1.0.1.tgz","fileCount":4,"unpackedSize":5361,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/WRfWc687thHHPOvb1biQpSyvGk3zqZvzcJXeS5LtLAiEA8PF0B3eNjuxDwdR5xpWWtxZzlwDwumP8EEVMqoeDnFQ="}]},"_npmUser":{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"},"directories":{},"maintainers":[{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dbl-azury_1.0.1_1688864136705_0.34703988891150694"},"_hasShrinkwrap":false,"deprecated":"New versions (1.0.3 or later) have added more features. Please use those versions or use @latest"},"1.0.2":{"name":"@azurystudio/dbl-azury","version":"1.0.2","description":"Integrate with Azury Botlist","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["bot","list","discord","api","bots","vote","check","vote","control","force","vote"],"author":{"name":"Azury"},"license":"MIT","dependencies":{"node-fetch":"^2.6.7"},"devDependencies":{},"_id":"@azurystudio/dbl-azury@1.0.2","_nodeVersion":"18.7.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-N0OEoPVhLtLY96oBU8f2fHGnLABdCjmHh9jpZlhEvZSjQhh7X/lOzdwkwc5bYHwN9BTvkMCMZ0wg05rLbGF9Rg==","shasum":"f7a9050fbc37ab353420e5b4b099d375c90feb85","tarball":"https://registry.npmjs.org/@azurystudio/dbl-azury/-/dbl-azury-1.0.2.tgz","fileCount":4,"unpackedSize":5685,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIhaH84gmKhpwarF4m+P8wpLF/NlkxCOrB9D+EhtBU/AiEA16AN8lwHYPE+UPvVnWBfAv8JTRcJ/UUNmZoLoGv6n84="}]},"_npmUser":{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"},"directories":{},"maintainers":[{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dbl-azury_1.0.2_1688872184365_0.16930634402345568"},"_hasShrinkwrap":false,"deprecated":"New versions (1.0.3 or later) have added more features. Please use those versions or use @latest"},"1.0.3":{"name":"@azurystudio/dbl-azury","version":"1.0.3","description":"Integrate with Azury Botlist","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["bot","list","discord","api","bots","vote","check","vote","control","force","vote"],"author":{"name":"Azury"},"license":"MIT","dependencies":{"node-fetch":"^2.6.7","colors":"^1.4.0"},"devDependencies":{},"_id":"@azurystudio/dbl-azury@1.0.3","_nodeVersion":"18.7.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-fOwkF9cwuUdvAtuCaUpVpGytX2R/w7BkDKdDd74Ny35bME9ufrjJpKqCwLlwIFvuNgfmWTTjMDriojCE9yeWnA==","shasum":"9e9c9e68835a17866f5d2bf523ff66edf186138a","tarball":"https://registry.npmjs.org/@azurystudio/dbl-azury/-/dbl-azury-1.0.3.tgz","fileCount":4,"unpackedSize":7421,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVVfRRvP5/F69Dt6kVbxzYN/4VLYYkDLMjEPhxxr+2VwIgCHCkkTrAla39YAniJyuPcTRLqlNMWq0kfOuGq5TOeHE="}]},"_npmUser":{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"},"directories":{},"maintainers":[{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dbl-azury_1.0.3_1688928498157_0.8669852500932107"},"_hasShrinkwrap":false,"deprecated":"Use 1.0.4 (If not deprecated) or later versions"},"1.0.4":{"name":"@azurystudio/dbl-azury","version":"1.0.4","description":"Integrate with Azury Botlist","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["bot","list","discord","api","bots","vote","check","vote","control","force","vote"],"author":{"name":"Azury"},"license":"MIT","dependencies":{"node-fetch":"^2.6.7","colors":"^1.4.0"},"devDependencies":{},"_id":"@azurystudio/dbl-azury@1.0.4","_nodeVersion":"18.7.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-uuqu9IlKsRTOW7hR/99OOzYUmWs2b+nl0NmjTPFwi/haD0sG11o9XTHPsys0C4tZl3urfHe4vZGk5S7FmLdpSw==","shasum":"f90bafb0b04da19d85837b3b4f1f6c033dac702d","tarball":"https://registry.npmjs.org/@azurystudio/dbl-azury/-/dbl-azury-1.0.4.tgz","fileCount":4,"unpackedSize":9734,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhEhAER1ak82HpYP8PriXT0QqLVrfTtWXJiSn/4kxQeAIgQHP/ZvtDpClq6bMKPB28+lBgLu/wL5RFSDDF+rOyJ20="}]},"_npmUser":{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"},"directories":{},"maintainers":[{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dbl-azury_1.0.4_1689278418084_0.3251031456871245"},"_hasShrinkwrap":false},"1.0.5":{"name":"@azurystudio/dbl-azury","version":"1.0.5","description":"Integrate with Azury Botlist","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["bot","list","discord","api","bots","vote","check","vote","control","force","vote"],"author":{"name":"Azury"},"license":"MIT","dependencies":{"node-fetch":"^2.6.7","colors":"^1.4.0"},"devDependencies":{},"_id":"@azurystudio/dbl-azury@1.0.5","_nodeVersion":"18.7.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-7exVOXXU2KEqseDzL24RU0Fix0zwa/TuVRqU13EYCV2UsuCviPDLfHC1VG+JdhF9oBb4AKAHOwotQcAAQCmQLg==","shasum":"cb722d6cc502af19974ae50279711a4d81f4e39b","tarball":"https://registry.npmjs.org/@azurystudio/dbl-azury/-/dbl-azury-1.0.5.tgz","fileCount":4,"unpackedSize":10702,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC621fQI7/+grN05cuv0F4JIV9fvorp6JEYaeQZkaUMgAiEA/qCsUPunOxNLIQb481CVkjhgnE6VRKFL4eGl5stIOuw="}]},"_npmUser":{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"},"directories":{},"maintainers":[{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dbl-azury_1.0.5_1689278693245_0.404208820655259"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-09T00:37:33.930Z","1.0.0":"2023-07-09T00:37:34.186Z","modified":"2023-07-13T20:06:49.214Z","1.0.1":"2023-07-09T00:55:36.876Z","1.0.2":"2023-07-09T03:09:44.517Z","1.0.3":"2023-07-09T18:48:18.332Z","1.0.4":"2023-07-13T20:00:18.252Z","1.0.5":"2023-07-13T20:04:53.423Z"},"maintainers":[{"name":"azuryindustriesnpm","email":"mee69@aprex.tech"}],"description":"Integrate with Azury Botlist","keywords":["bot","list","discord","api","bots","vote","check","vote","control","force","vote"],"author":{"name":"Azury"},"license":"MIT","readme":"\n## Installation\n*If you have trouble with the installation, please feel free to visit our [discord](https://discord.gg/azury).*\n- `npm i @azurystudio/dbl-azury`\n\n## Welcome to the fresh and new Azury DBL!\n##### We have lots of things updated in this version for simplicity and the sake of easiness!\n##### There will be update logs at the bottom of the page! Check it out!\n\n### How to use this NPM Package\nYou may be a new user of this package and you just added your bot to Azury DBL! Well just in luck, we have a tutorial for most features!\n\n#### My server count is N/A. How do i resolve that?\n  `Ans:`\n```js\nconst azury = require(\"@azurystudio/dbl-azury\");\n// Not your discord token, your DBL bot token, go on the edit page of your bot and copy and paste it!\nconst dbl = new azury(\"TOKEN-HERE\", client);\n// Your Token is most usable when approved!\n\nclient.on(Events.ClientReady, async () => {\n  dbl.activate(\"servercount\"); //Don't worry its not cap sensitive! You just need to get the letters correct!\n // Note! You can also add a additional message like dbl.activate(\"servercount\", \"posted successfully!\");\n\n```\n\n#### I want to make a certain feature of my bot vote only? How can i do this?\n  `Ans:`\n```js\nlet hasVote = await dbl.activate(\"hasvoted\", \"userId\"); //Its not CAP Sensitive but always check your spelling!\n  if(hasVote === true) {\n    console.log(\"Voted\")\n  } else {\n    console.log(\"Vote please.\")\n  }\n\n```\n\n#### How do i access my vote count?\n`Ans:`\n```js\n\ndbl.activate(\"searchbot\", \"your-bot-id\").then((json) => {\n\nconsole.log(json.votes)\n\t\n})\n\n```\n\n```console\nOutput:\nInt which has the votes\n```\n\n#### How do i search for a server or a user?\n`Ans:`\n```js\n\n// SearchUser\n\nlet user = await dbl.activate(\"searchuser\", \"user-id\") // This user-id must have logged in before in the website or it will show an error\n\nconsole.log(user);\n\n// SearchServer\n\nlet server = await dbl.activate(\"searchserver\", \"server-id\") // This is for servers that are available on the servers page or it will show an error.\n\n\nconsole.log(server);\n\n```\n\n#### How do i view any of the announcements on a bot?\n`Ans:`\n```js\nlet latestann = await dbl.activate(\"viewannouncements\", \"bot-id-of-your-choice\") /* optional: page number. await dbl.activate(viewannouncements\", \"bot-id-of-your-choice\", page-number) Must be a Int! \n1 announcement is shown per page and sort style is by the latest announcement to the earliest announcement made. */\n\nconsole.log(latestann);\n```\n\n\n#### All in One:\n\n```js\nconst azury = require(\"@azurystudio/dbl-azury\");\nconst dbl = new azury(\"TOKEN-HERE\", client);\n\nclient.on(\"ready\", async () => {\n  dbl.activate(\"servercount\");\n  console.log(\"Server count posted\")\n  \n  let hasVote = await dbl.activate(\"hasvoted\", \"userId\");\n  if(hasVote === true) {\n    console.log(\"Voted\")\n  } else {\n    console.log(\"Vote please.\")\n  }\n  \n  \n  let search = await dbl.activate(\"searchbot\", \"bot-id\")\n  console.log(search)\n  \n\n  /* SearchResults\n  {\n    avatar: '',\n    botID: '',\n    username: '',\n    discrim: '',\n    shortDesc: '',\n    prefix: '? [changable]',\n    votes: Int,\n    ownerID: '',\n    owner: '',\n    coowners: [ '' ],\n    tags: [ 'Moderation', 'NSFW', 'Music' ],\n    longDesc: longDesc,\n    certificate: 'Certified'\n  }\n  */\n\n \n// SearchUser\n\nlet user = await dbl.activate(\"searchuser\", \"user-id\") // This user-id must have logged in before in the website or it will show an error\n\nconsole.log(user);\n\n// SearchServer\n\nlet server = await dbl.activate(\"searchserver\", \"server-id\") // This is for servers that are available on the servers page or it will show an error.\n\n\nconsole.log(server);\n\nlet latestann = await dbl.activate(\"viewannouncements\", \"bot-id-of-your-choice\") /* optional: page number. await dbl.activate(viewannouncements\", \"bot-id-of-your-choice\", page-number) Must be a Int! \n1 announcement is shown per page and sort style is by the latest announcement to the earliest announcement made. */\n\nconsole.log(latestann);\n\n\n});\n\n```\n\n## Try it out yourself and see the results! How to install on top!\n\n## Change Logs\n\n### 1.0.5\n\nReadme improvements, you may use continue using 1.0.4 unless deprecated.\n\n### 1.0.4\n\nOne feature added to activate\nviewannouncements\n\nExample\n```js\ndbl.activate(\"viewannouncements\", \"bot-id-of-your-choice\") /* optional: page number.\ndbl.activate(viewannouncements\", \"bot-id-of-your-choice\", page-number) // Must be a Int!\n\n1 announcement is shown per page and sort style is by the latest announcement to the earliest announcement made. *\\\n```\n\n### 1.0.3\n\n<h2 style=\"color: white; background-color:red; text-align: center;\"><u>Deprecated</u></h2>\n<h4 style=\"color: white; background-color:red; text-align: center;\"><b>Use 1.0.4 (If not deprecated!) or later versions</b></h4>\n\nThis version adds 2 more features to the activate function and a new function the debug command.\n\n#### The two features are:\n\nsearchserver\nsearchuser\nAdditional changes: search will no longer be search, it will be searchbot.\nOld:\n```js\ndbl.activate(\"search\", \"bot-id\");\n```\n\nNew:\n```js\ndbl.activate(\"searchbot\", \"bot-id\");\n```\n\nThe new features are self explainatory and easy to use. \n\nFor example\n```js\n\n// SearchUser\n\ndbl.activate(\"searchuser\", \"user-id\") // This user-id must have logged in before in the website or it will show an error\n\n// SearchServer\n\ndbl.activate(\"searchserver\", \"server-id\") // This is for servers that are available on the servers page or it will show an error.\n\n\n```\n#### New function - debug\n\nThis command allows you to debug and see if everything is working right!\n\n```js\ndbl.debug(true) // this will show debug on the console. You can deactivate this by writing false or removing the function entirely.\n```\n\nThats wraps up all the features added in this update.\n\n\n### 1.0.2\n\n<h2 style=\"color: white; background-color:red; text-align: center;\"><u>Deprecated</u></h2>\n<h4 style=\"color: white; background-color:red; text-align: center;\"><b>Use 1.0.4 (If not deprecated!) or later versions</b></h4>\n\nAdding more content to readme, soon they will be more features added into this version. Once actual features come out, previous versions will become deprecated!\n\n### 1.0.1\n\n<h2 style=\"color: white; background-color:red; text-align: center;\"><u>Deprecated</u></h2>\n<h4 style=\"color: white; background-color:red; text-align: center;\"><b>Use 1.0.4 (If not deprecated!) or later versions</b></h4>\n\nImproving ReadMe.md\n\n### 1.0.0\n<h2 style=\"color: white; background-color:red; text-align: center;\"><u>Deprecated</u></h2>\n<h4 style=\"color: white; background-color:red; text-align: center;\"><b>Use 1.0.4 (If not deprecated!) or later versions</b></h4>\n\nAlot has changed in this version since the previous one. Instead of you using dbl.funcionName, we now use activate, which allows you to use any of the functions all in one function.\n\nOld:\n```js\n\ndbl.hasVoted(\"user-id\");\n\n```\nNew:\n```js\n\ndbl.activate(\"hasvoted\", \"user-id\"); // Not cap sensitive so HASVOTED or hAsVoted works!\n\n```\n\n\n<h2 style=\"text-align: center;\">&copy; Azury Studios</h2>","readmeFilename":"README.md"}