{"id":14983460,"url":"https://github.com/disbotsxyz/disbots-api","last_synced_at":"2025-07-28T12:36:16.761Z","repository":{"id":57216708,"uuid":"386288492","full_name":"Disbotsxyz/Disbots-api","owner":"Disbotsxyz","description":"A official api disbots","archived":false,"fork":false,"pushed_at":"2021-10-07T15:52:02.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T05:04:23.418Z","etag":null,"topics":["bot","discord","discord-bot","discord-js","npm"],"latest_commit_sha":null,"homepage":"https://disbots.xyz","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Disbotsxyz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-15T12:50:34.000Z","updated_at":"2022-02-11T20:39:18.000Z","dependencies_parsed_at":"2022-08-26T15:01:09.829Z","dependency_job_id":null,"html_url":"https://github.com/Disbotsxyz/Disbots-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Disbotsxyz/Disbots-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Disbotsxyz%2FDisbots-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Disbotsxyz%2FDisbots-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Disbotsxyz%2FDisbots-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Disbotsxyz%2FDisbots-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Disbotsxyz","download_url":"https://codeload.github.com/Disbotsxyz/Disbots-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Disbotsxyz%2FDisbots-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265445360,"owners_count":23766453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","discord","discord-bot","discord-js","npm"],"created_at":"2024-09-24T14:07:14.512Z","updated_at":"2025-07-15T16:36:10.080Z","avatar_url":"https://github.com/Disbotsxyz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**NPM:** [npmjs.com/package/disbots-xyz](https://www.npmjs.com/package/disbots-xyz/)\u003cbr\u003e\n\n\n\u003ca href=\"https://www.npmjs.com/package/disbots-xyz/\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/disbots-xyz.svg?maxAge=3600\" alt=\"NPM version\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/disbots-xyz\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/disbots-xyz.svg?maxAge=3600\" alt=\"NPM downloads\" /\u003e\u003c/a\u003e\n\n\n\u003ca href=\"https://nodei.co/npm/disbots-xyz\"\u003e\u003cimg src=\"https://nodei.co/npm/disbots-xyz.png?downloads=true\u0026stars=true\" alt=\"npm installnfo\" /\u003e\u003c/a\u003e\n\n\n## Installation\n*If you have trouble with the installation, please feel free to visit our [discord](https://discord.gg/m5vUJVztpt) address.*\n- `npm i disbots-xyz`\n\n#### 1. Where can I get DisBots.xyz api?\n  Ans: [JavaScript](https://www.npmjs.com/package/disbots-xyz)\n            [Python](https://pypi.org/project/disbots.py/)\n\n#### 2. How do I install it?\n  Ans: JavaSciprt: npm i disbots-xyz or npm install disbots-xyz\n            Python: pip install disbots\n\n#### 3. Does it have any GitHub Repository?\n  Ans: Yes It Is [Here](https://github.com/disbotsxyz/disbots-api)\n\n#### 4. What is it's uses?\n  Ans: To get the daily vote count, server count and information about your bot.\nExamples:  avatar, botID, discriminator, shortDescription, prefix, votes, serverCount, ownerID, owner, co-owners, tags, longDescription, certificate etc.\n\n#### 5. How can I get my bot's server count?\n  `Ans: JavaScript:`\n```js\nconst disbots = require(\"disbots-xyz\");\nconst dbl = new disbots(\"TOKEN-HERE\", client);\n\nclient.on(\"ready\", async () =\u003e {\n  dbl.serverCount();\n  console.log(\"Server count posted\")\n\n```\n  ### Python: \n```py\nfrom disbots import disbots\nfrom discord.ext import commands, tasks\n\nclient = commands.Bot(command_prefix=\"!\") \ndbl = disbots(client,\"token of disbots\")\n\n@tasks.loop(minutes = 10)\nasync def postservercount():\n  await dbl.serverCountPost()\n\n@client.event\nasync def on_ready():\n  postservercount.start()\n\nclient.run(\"token\") \n\n```\n\n#### 6. How can I get my bot's vote count?\n  `Ans:`\n```js\nlet hasVote = await dbl.hasVoted(\"Your-bot-id\");\n  if(hasVote === true) {\n    console.log(\"Voted\")\n  } else {\n    console.log(\"Vote please.\")\n  }\n  \n  \n  let search = await dbl.search(\"Your-bot-id\")\n  console.log(search)\n\n```\n\n#### 7. Full Example?\n  `Ans:`\n```js\nconst disbots = require(\"disbots-xyz\");\nconst dbl = new disbots(\"TOKEN-HERE\", client);\n\nclient.on(\"ready\", async () =\u003e {\n  dbl.serverCount();\n  console.log(\"Server count posted\")\n  \n  let hasVote = await dbl.hasVoted(\"your-bot-id\");\n  if(hasVote === true) {\n    console.log(\"Voted\")\n  } else {\n    console.log(\"Vote please.\")\n  }\n  \n  \n  let search = await dbl.search(\"Your-bot-id\")\n  console.log(search)\n\n  /* SearchResults\n  {\n    avatar: '',\n    botID: '',\n    username: '',\n    discrim: '',\n    shortDesc: '',\n    prefix: '? [changable]',\n    votes: 25,\n    ownerID: '',\n    owner: '',\n    coowners: [ '' ],\n    tags: [ 'Moderation', 'NSFW', 'Music' ],\n    longDesc: longDesc,\n    certificate: 'Certified'\n  }\n  */\n});\n\n```\n# Questions?\nCome talk to us here:\n\n[![Disbots.xyz](https://discord.com/api/guilds/852825880271257611/embed.png?style=banner1)](https://discord.gg/YhTU6Akzmy)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisbotsxyz%2Fdisbots-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdisbotsxyz%2Fdisbots-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisbotsxyz%2Fdisbots-api/lists"}