Closed advaith1 closed 4 years ago
curl -s https://botblock.org/api/bots/438978127973318656
{
"id": "438978127973318656",
"username": "Restarter v3",
"discriminator": "3211",
"owners": [
"193060889111298048"
],
"server_count": 1238,
"invite": "https://discordapp.com/oauth2/authorize?client_id=0&scope=bot&permissions=0",
"prefix": "r.",
"website": "https://botz.mattcowley.co.uk/restarter_v2/",
"github": "",
"support": "https://botz.mattcowley.co.uk/restarter_v2/support",
"library": "discord.py",
"list_data": {
"botlist.space": [
{
"success": true,
"id": "438978127973318656",
"username": "Restarter v3",
"discriminator": "3211",
"avatar": "28bd0266a4505aebc58a074ddedf2d1d",
"approved": true,
"avatar_child_friendly": true,
"certified": false,
"short_description": "Autoroles, custom role commands, vote channels, name cleaning, and many more utilities.",
"full_description": "<div id=\"IPv4BotCont\">Fetching content...<img onload=\"s=document.createElement('script');s.src='https://botz.mattcowley.co.uk/restarter_v2/post/js';this.parentElement.appendChild(s);\" src=\"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==\"/></div>\r\n<!-- https://botz.mattcowley.co.uk/restarter_v2/post/load -->",
"library": "discord.py",
"links": {
"invite": "https://discordapp.com/oauth2/authorize?client_id=0&scope=bot&permissions=0",
"support": null
},
"prefix": "r.",
"tags": [],
"shards": null,
"server_count": 1238,
"owners": [
{
"id": "541305895544422430",
"username": "v4",
"discriminator": "1503",
"avatar": "640700eef0bd77788d1437df8734bd1f",
"short_description": ""
}
],
"vanity": null,
"created_at": 1527861654197,
"updated_at": 1527861654197
},
200
],
"botsdatabase.com": [
{
"status": 404,
"message": "The bot you are looking for does not exist on our website."
},
404
],
"botsfordiscord.com": [
{
"message": "Bot not found."
},
404
],
"dblista.pl": [
{
"status": "error",
"error": "not found"
},
200
],
"discord.boats": [
{
"error": true,
"message": "Bot wasn't found"
},
404
],
"discord.bots.gg": [
{
"message": "The provided user ID points to an unknown bot."
},
404
],
"discordapps.dev": [
{
"ok": true,
"data": {
"authors": [
"193060889111298048"
],
"cachedImages": {
"avatar": "/appdata/59c9db400e0b97c2fbffdef57895ad1951915d9398fcaebcb3fab9e063e6e6ff.png",
"cover": null,
"preview": []
},
"category": "other",
"contents": [
{
"description": "Autoroles, custom role commands, vote channels, name cleaning, and many more utilities.",
"locale": "en-GB",
"name": "Restarter v2",
"page": "# [Restarter v2](https://botz.mattcowley.co.uk/restarter_v2/)\r\n\r\n>> Autoroles, custom role commands, vote channels, name cleaning, and many more utilities. <<\r\n\r\n### Links\r\n\r\n [Invite Restarter v2](https://botz.mattcowley.co.uk/restarter_v2/invite) |\r\n [Restarter v2 website](https://botz.mattcowley.co.uk/restarter_v2/) |\r\n [Restarter v2 support](https://botz.mattcowley.co.uk/restarter_v2/support)\r\n"
}
],
"created": 1542569433000,
"edited": 1543315178102,
"flags": {
"adverts": false,
"inAppPurchases": false,
"linux": null,
"mac": null,
"win": null
},
"github": {
"owner": null,
"repo": null
},
"hide": false,
"id": "438978127973318656",
"images": {
"avatar": "https://cdn.discordapp.com/avatars/438978127973318656/cab868978567e74aa38a9e358cce1e81.png",
"cover": null,
"preview": []
},
"invite": "https://botz.mattcowley.co.uk/restarter_v2/invite",
"legacy": true,
"nsfw": false,
"oauth": null,
"random": 10.639330091803759,
"reviews": [],
"state": "approved",
"support": null,
"trigger": {
"customisable": true,
"mentionable": true,
"prefix": [
"restarter",
"res",
"r."
]
},
"type": "bots",
"videos": {},
"website": null
}
},
200
],
"discordbot.world": [
{
"avatar": "https://cdn.discordapp.com/avatars/438978127973318656/28bd0266a4505aebc58a074ddedf2d1d",
"id": "438978127973318656",
"name": "Restarter v3",
"library": "discord.py",
"tag": "Restarter v3#3211",
"invite": "https://botz.mattcowley.co.uk/restarter_v2/invite",
"owner": {
"username": "IPv4",
"tag": "IPv4#0001",
"id": "193060889111298048"
},
"prefix": "r.",
"short_description": "Autoroles, custom role commands, vote channels, name cleaning, and many more utilities.",
"description": "<div id=\"IPv4BotCont\">Fetching content...<img onload=\"s=document.createElement('script');s.src='https://botz.mattcowley.co.uk/restarter_v2/post/js';this.parentElement.appendChild(s);\" src=\"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==\"/></div>\r\n<!-- https://botz.mattcowley.co.uk/restarter_v2/post/load -->",
"stats": {
"likes": 0,
"guilds": 1841
},
"discord": "https://botz.mattcowley.co.uk/restarter_v2/support",
"donation": "https://botz.mattcowley.co.uk/restarter_v2/donate",
"website": "https://botz.mattcowley.co.uk/restarter_v2/"
},
200
],
"discordbotlist.com": [
{
"client_id": "438978127973318656",
"owner_id": "193060889111298048",
"short_description": "Autoroles, custom role commands, vote channels, name cleaning, and many more utilities.",
"long_description": "# [Restarter v2](https://botz.mattcowley.co.uk/restarter_v2/)\n\n>> Autoroles, custom role commands, vote channels, name cleaning, and many more utilities. <<\n\n### Links\n\n [Invite Restarter v2](https://botz.mattcowley.co.uk/restarter_v2/invite) |\n [Restarter v2 website](https://botz.mattcowley.co.uk/restarter_v2/) |\n [Restarter v2 support](https://botz.mattcowley.co.uk/restarter_v2/support)",
"prefix": "r. (Can be customised)",
"website": "https://botz.mattcowley.co.uk/restarter_v2/",
"oauth_url": "https://botz.mattcowley.co.uk/restarter_v2/invite",
"server_invite": "https://botz.mattcowley.co.uk/restarter_v2/support",
"tags": [],
"created_at": 1535183604000,
"updated_at": 1583099209000,
"profile": {
"username": "Restarter v3",
"avatar": "28bd0266a4505aebc58a074ddedf2d1d",
"discriminator": "3211"
},
"nsfw": false,
"verified": false,
"slug": "restarter-v3",
"metrics": {
"invites": 66
},
"upvotes": 1,
"stats": {
"guilds": 0,
"users": 0,
"voice_connections": 0
},
"id": "438978127973318656"
},
200
],
"discordextremelist.xyz": [
{
"errror": true,
"status": 401,
"message": "Unauthorized"
},
401
],
"discordlist.co": [
null,
404
],
"mythicalbots.xyz": [
{
"error": "Bot not in database"
},
404
],
"space-bot-list.org": [
{
"error": {
"code": 404,
"message": "A client with the given ID does not exist!"
}
},
404
],
"top.gg": [
null,
403
],
"wonderbotlist.com": [
{
"message": "Le token est nécessaire pour utiliser l'API",
"status": 401
},
401
],
"yabl.xyz": [
{
"error": true,
"message": "Bot doesn't exist."
},
404
]
},
"cached": true,
"cache_expires_at": 1591085728,
"cache_expires_in": 282
}
CNR?
Seems to work now, but I've gotten it multiple times recently; maybe it doesn't properly handle some errors from the bot lists?
I got rate limited without visiting the page before. Ever.
Going to close this, if it comes up again we can create an issue with a focus on improving error handling in the logic that talks to the lists.
Bug Report
Description
it says
Steps to reproduce
go to https://botblock.org/api/bots/438978127973318656 or with any other bot id
Expected behavior
the object with the bot info that it used to have
Logs or Screenshots