Skip to content

Commit

Permalink
feat: add VoidBots (#102)
Browse files Browse the repository at this point in the history
* feat(services): add VoidBots

* docs(DiscordBotDirectory): add shard warning

* [auto] docs: update docs

* docs(DiscordBotDirectory): fix warning

* test(services): test other class methods
  • Loading branch information
EndBug authored Jan 9, 2021
1 parent e2f9126 commit 975132c
Show file tree
Hide file tree
Showing 8 changed files with 374 additions and 34 deletions.
76 changes: 45 additions & 31 deletions docs/general/services.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Supported Services (30)
# Supported Services (31)

<div align=center>
<p>
Expand All @@ -14,7 +14,7 @@
<a href="https://arcane-center.xyz"><h1>Arcane Bot List</h1></a>

Keys: `arcanebotcenter`, `arcane-botcenter.xyz`, `arcanebotcenter.xyz`, `arcane`, `abc`, `arcane-center.xyz`, `arcanecenter.xyz`
Class: [dbots.Arcane](/#/docs/main/master/class/Arcane)
Class: [dbots.Arcane](/#/docs/main/NS-vb/class/Arcane)
Website: https://arcane-center.xyz
</div>

Expand All @@ -28,7 +28,7 @@ Website: https://arcane-center.xyz
<a href="https://botlists.com"><h1>Astro Bot List</h1></a>

Keys: `abl`, `astrobotlist`, `botlists.com`
Class: [dbots.AstroBotList](/#/docs/main/master/class/AstroBotList)
Class: [dbots.AstroBotList](/#/docs/main/NS-vb/class/AstroBotList)
Website: https://botlists.com
</div>

Expand All @@ -41,7 +41,7 @@ Website: https://botlists.com
<a href="https://blist.xyz"><h1>Blist</h1></a>

Keys: `blist`, `blist.xyz`
Class: [dbots.Blist](/#/docs/main/master/class/Blist)
Class: [dbots.Blist](/#/docs/main/NS-vb/class/Blist)
Website: https://blist.xyz
</div>

Expand All @@ -55,7 +55,7 @@ Website: https://blist.xyz
<a href="https://botlist.space"><h1>botlist.space</h1></a>

Keys: `botlistspace`, `botlist.space`, `bls`
Class: [dbots.BotListSpace](/#/docs/main/master/class/BotListSpace)
Class: [dbots.BotListSpace](/#/docs/main/NS-vb/class/BotListSpace)
Website: https://botlist.space
</div>

Expand All @@ -68,7 +68,7 @@ Website: https://botlist.space
<a href="https://botsdatabase.com"><h1>BotsDataBase</h1></a>

Keys: `botsdatabase`, `bdb`
Class: [dbots.BotsDataBase](/#/docs/main/master/class/BotsDataBase)
Class: [dbots.BotsDataBase](/#/docs/main/NS-vb/class/BotsDataBase)
Website: https://botsdatabase.com
</div>

Expand All @@ -82,7 +82,7 @@ Website: https://botsdatabase.com
<a href="https://botsfordiscord.com"><h1>Bots For Discord</h1></a>

Keys: `botsfordiscord`, `botsfordiscord.com`, `bfd`
Class: [dbots.BotsForDiscord](/#/docs/main/master/class/BotsForDiscord)
Class: [dbots.BotsForDiscord](/#/docs/main/NS-vb/class/BotsForDiscord)
Website: https://botsfordiscord.com
</div>

Expand All @@ -96,7 +96,7 @@ Website: https://botsfordiscord.com
<a href="https://bots.ondiscord.xyz"><h1>Bots On Discord</h1></a>

Keys: `botsondiscord`, `bots.ondiscord.xyz`, `bod`
Class: [dbots.BotsOnDiscord](/#/docs/main/master/class/BotsOnDiscord)
Class: [dbots.BotsOnDiscord](/#/docs/main/NS-vb/class/BotsOnDiscord)
Website: https://bots.ondiscord.xyz
</div>

Expand All @@ -110,7 +110,7 @@ Website: https://bots.ondiscord.xyz
<a href="https://www.carbonitex.net/Discord/bots"><h1>Carbonitex</h1></a>

Keys: `carbonitex`, `carbonitex.net`, `carbon`
Class: [dbots.Carbon](/#/docs/main/master/class/Carbon)
Class: [dbots.Carbon](/#/docs/main/NS-vb/class/Carbon)
Website: https://www.carbonitex.net/Discord/bots
</div>

Expand All @@ -124,7 +124,7 @@ Website: https://www.carbonitex.net/Discord/bots
<a href="https://dblista.pl"><h1>DBLista</h1></a>

Keys: `dblistapl`, `dblista.pl`, `dblista`
Class: [dbots.DBLista](/#/docs/main/master/class/DBLista)
Class: [dbots.DBLista](/#/docs/main/NS-vb/class/DBLista)
Website: https://dblista.pl
</div>

Expand All @@ -139,7 +139,7 @@ Website: https://dblista.pl
<a href="https://discordapps.dev"><h1>Discord Apps</h1></a>

Keys: `discordappsdev`, `discordapps.dev`, `discordapps`, `dapps`
Class: [dbots.DiscordAppsDev](/#/docs/main/master/class/DiscordAppsDev)
Class: [dbots.DiscordAppsDev](/#/docs/main/NS-vb/class/DiscordAppsDev)
Website: https://discordapps.dev
</div>

Expand All @@ -153,7 +153,7 @@ Website: https://discordapps.dev
<a href="https://discord.boats"><h1>Discord Boats</h1></a>

Keys: `discordboats`, `discord.boats`, `dboats`
Class: [dbots.DiscordBoats](/#/docs/main/master/class/DiscordBoats)
Class: [dbots.DiscordBoats](/#/docs/main/NS-vb/class/DiscordBoats)
Website: https://discord.boats
</div>

Expand All @@ -167,7 +167,7 @@ Website: https://discord.boats
<a href="https://discordbotdirectory.net"><h1>Discord Bot Directory</h1></a>

Keys: `discordbotdirectory`, `dbd`, `discordbotdirectory.net`
Class: [dbots.DiscordBotDirectory](/#/docs/main/master/class/DiscordBotDirectory)
Class: [dbots.DiscordBotDirectory](/#/docs/main/NS-vb/class/DiscordBotDirectory)
Website: https://discordbotdirectory.net
</div>

Expand All @@ -181,7 +181,7 @@ Website: https://discordbotdirectory.net
<a href="https://discordbotlist.com"><h1>Discord Bot List</h1></a>

Keys: `discordbotlist`, `discordbotlist.com`, `dbotlist`
Class: [dbots.DiscordBotList](/#/docs/main/master/class/DiscordBotList)
Class: [dbots.DiscordBotList](/#/docs/main/NS-vb/class/DiscordBotList)
Website: https://discordbotlist.com
</div>

Expand All @@ -196,7 +196,7 @@ Website: https://discordbotlist.com
<a href="https://discordbot.world"><h1>Discord Bot World</h1></a>

Keys: `discordbotworld`, `discordbot.world`, `dbotworld`, `dbw`
Class: [dbots.DiscordBotWorld](/#/docs/main/master/class/DiscordBotWorld)
Class: [dbots.DiscordBotWorld](/#/docs/main/NS-vb/class/DiscordBotWorld)
Website: https://discordbot.world
</div>

Expand All @@ -208,7 +208,7 @@ Website: https://discordbot.world
<a href="https://discordbots.co"><h1>DiscordBots.co</h1></a>

Keys: `discordbotsco`
Class: [dbots.DiscordBotsCo](/#/docs/main/master/class/DiscordBotsCo)
Class: [dbots.DiscordBotsCo](/#/docs/main/NS-vb/class/DiscordBotsCo)
Website: https://discordbots.co
</div>

Expand All @@ -224,7 +224,7 @@ Website: https://discordbots.co
<a href="https://discord.bots.gg"><h1>Discord Bots</h1></a>

Keys: `discordbotsgg`, `discord.bots.gg`, `botsgg`, `bots.gg`, `dbots`
Class: [dbots.DiscordBotsGG](/#/docs/main/master/class/DiscordBotsGG)
Class: [dbots.DiscordBotsGG](/#/docs/main/NS-vb/class/DiscordBotsGG)
Website: https://discord.bots.gg
</div>

Expand All @@ -239,7 +239,7 @@ Website: https://discord.bots.gg
<a href="https://discordextremelist.xyz/"><h1>Discord Extreme List</h1></a>

Keys: `discordextremelist`, `discordextremelist.xyz`, `discordextremelistxyz`, `del`
Class: [dbots.DiscordExtremeList](/#/docs/main/master/class/DiscordExtremeList)
Class: [dbots.DiscordExtremeList](/#/docs/main/NS-vb/class/DiscordExtremeList)
Website: https://discordextremelist.xyz/
</div>

Expand All @@ -254,7 +254,7 @@ Website: https://discordextremelist.xyz/
<a href="https://bots.discordlabs.org/"><h1>Discord Labs</h1></a>

Keys: `discordlabs`, `discord-labs`, `discordlabs.org`, `bots.discordlabs.org`
Class: [dbots.DiscordLabs](/#/docs/main/master/class/DiscordLabs)
Class: [dbots.DiscordLabs](/#/docs/main/NS-vb/class/DiscordLabs)
Website: https://bots.discordlabs.org/
</div>

Expand All @@ -266,7 +266,7 @@ Website: https://bots.discordlabs.org/
<a href="https://discordlistology.com/"><h1>DiscordListology</h1></a>

Keys: `discordlistology`
Class: [dbots.DiscordListology](/#/docs/main/master/class/DiscordListology)
Class: [dbots.DiscordListology](/#/docs/main/NS-vb/class/DiscordListology)
Website: https://discordlistology.com/
</div>

Expand All @@ -279,7 +279,7 @@ Website: https://discordlistology.com/
<a href="https://discordservices.net"><h1>Discord Services</h1></a>

Keys: `discordservices`, `discordservices.net`
Class: [dbots.DiscordServices](/#/docs/main/master/class/DiscordServices)
Class: [dbots.DiscordServices](/#/docs/main/NS-vb/class/DiscordServices)
Website: https://discordservices.net
</div>

Expand All @@ -294,7 +294,7 @@ Website: https://discordservices.net
<a href="https://glennbotlist.xyz"><h1>Glenn Bot List</h1></a>

Keys: `glennbotlist`, `glennbotlist.xyz`, `glennbotlist.gg`, `glenn`
Class: [dbots.GlennBotList](/#/docs/main/master/class/GlennBotList)
Class: [dbots.GlennBotList](/#/docs/main/NS-vb/class/GlennBotList)
Website: https://glennbotlist.xyz
</div>

Expand All @@ -308,7 +308,7 @@ Website: https://glennbotlist.xyz
<a href="https://infinitybotlist.com"><h1>Infinity Bot List</h1></a>

Keys: `ibl`, `infinitybotlist`, `infinitybotlist.com`
Class: [dbots.InfinityBotList](/#/docs/main/master/class/InfinityBotList)
Class: [dbots.InfinityBotList](/#/docs/main/NS-vb/class/InfinityBotList)
Website: https://infinitybotlist.com
</div>

Expand All @@ -322,7 +322,7 @@ Website: https://infinitybotlist.com
<a href="https://lbots.org/"><h1>LBots</h1></a>

Keys: `lbots`, `lbotsorg`, `lbots.org`
Class: [dbots.LBots](/#/docs/main/master/class/LBots)
Class: [dbots.LBots](/#/docs/main/NS-vb/class/LBots)
Website: https://lbots.org/
</div>

Expand All @@ -337,7 +337,7 @@ Website: https://lbots.org/
<a href="https://listmybots.com/"><h1>List My Bots</h1></a>

Keys: `listmybots`, `listmybots.com`, `listmybotscom`, `lmb`
Class: [dbots.ListMyBots](/#/docs/main/master/class/ListMyBots)
Class: [dbots.ListMyBots](/#/docs/main/NS-vb/class/ListMyBots)
Website: https://listmybots.com/
</div>

Expand All @@ -352,7 +352,7 @@ Website: https://listmybots.com/
<a href="https://mythicalbots.xyz/"><h1>Mythical Bots</h1></a>

Keys: `mythicalbots`, `mythicalbots.xyz`, `mythicalbotsxyz`, `mythical`
Class: [dbots.MythicalBots](/#/docs/main/master/class/MythicalBots)
Class: [dbots.MythicalBots](/#/docs/main/NS-vb/class/MythicalBots)
Website: https://mythicalbots.xyz/
</div>

Expand All @@ -369,7 +369,7 @@ Website: https://mythicalbots.xyz/
<a href="https://space-bot-list.xyz/"><h1>Space Bots List</h1></a>

Keys: `spacebotslist`, `spacebotlist`, `spacebots`, `space-bot-list.org`, `space`, `sbl`
Class: [dbots.SpaceBotsList](/#/docs/main/master/class/SpaceBotsList)
Class: [dbots.SpaceBotsList](/#/docs/main/NS-vb/class/SpaceBotsList)
Website: https://space-bot-list.xyz/
</div>

Expand All @@ -382,7 +382,7 @@ Website: https://space-bot-list.xyz/
<a href="https://topcord.xyz/"><h1>TopCord</h1></a>

Keys: `topcord`, `topcord.xyz`
Class: [dbots.TopCord](/#/docs/main/master/class/TopCord)
Class: [dbots.TopCord](/#/docs/main/NS-vb/class/TopCord)
Website: https://topcord.xyz/
</div>

Expand All @@ -396,10 +396,24 @@ Website: https://topcord.xyz/
<a href="https://top.gg"><h1>Top.gg</h1></a>

Keys: `topgg`, `top.gg`, `top`
Class: [dbots.TopGG](/#/docs/main/master/class/TopGG)
Class: [dbots.TopGG](/#/docs/main/NS-vb/class/TopGG)
Website: https://top.gg
</div>

<div align=center>
<p>
<img src="https://gblobscdn.gitbook.com/spaces%2F-MFw3t62urLlBeats8UJ%2Favatar-1598748054479.png" alt="voidbots logo" width="100" align="left" />
</p>
<i id="voidbots"></i>
<i id="void"></i>
<i id="voidbots.net"></i>
<a href="https://voidbots.net/"><h1>Void Bots</h1></a>

Keys: `voidbots`, `void`, `voidbots.net`
Class: [dbots.VoidBots](/#/docs/main/NS-vb/class/VoidBots)
Website: https://voidbots.net/
</div>

<div align=center>
<p>
<img src="https://get.snaz.in/8Jk3EJg.png" alt="wonderbotlist logo" width="100" align="left" />
Expand All @@ -412,7 +426,7 @@ Website: https://top.gg
<a href="https://wonderbotlist.com/en"><h1>Wonder Bot List</h1></a>

Keys: `wonderbotlist`, `wonderbotlist.com`, `wonderbotlistcom`, `wonder`, `wbl`
Class: [dbots.WonderBotList](/#/docs/main/master/class/WonderBotList)
Class: [dbots.WonderBotList](/#/docs/main/NS-vb/class/WonderBotList)
Website: https://wonderbotlist.com/en
</div>

Expand All @@ -426,6 +440,6 @@ Website: https://wonderbotlist.com/en
<a href="https://yabl.xyz/"><h1>Yet Another Bot List</h1></a>

Keys: `yabl`, `yablxyz`, `yabl.xyz`
Class: [dbots.YABL](/#/docs/main/master/class/YABL)
Class: [dbots.YABL](/#/docs/main/NS-vb/class/YABL)
Website: https://yabl.xyz/
</div>
3 changes: 2 additions & 1 deletion lib/Interface/Lists/DiscordBotDirectory.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export default class DiscordBotDirectory extends Service {
static get baseURL(): string;
/**
* Posts statistics to this service.
* <warn>The docs for this endopoint exist only in a Discord message</warn>
* <warn>The docs for this endopoint exist only in a Discord message.
* Shard data posting is not supported for this service.</warn>
* @param options The options of the request
*/
static post(options: ServicePostOptions): Promise<import("axios").AxiosResponse<any>>;
Expand Down
3 changes: 2 additions & 1 deletion lib/Interface/Lists/DiscordBotDirectory.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ var DiscordBotDirectory = /** @class */ (function (_super) {
});
/**
* Posts statistics to this service.
* <warn>The docs for this endopoint exist only in a Discord message</warn>
* <warn>The docs for this endopoint exist only in a Discord message.
* Shard data posting is not supported for this service.</warn>
* @param options The options of the request
*/
DiscordBotDirectory.post = function (options) {
Expand Down
50 changes: 50 additions & 0 deletions lib/Interface/Lists/VoidBots.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import { Service, ServicePostOptions } from '../Service';
import { IDResolvable } from '../../Utils/Util';
/**
* Represents the Void Bots service.
* @see https://docs.voidbots.net/
*/
export default class VoidBots extends Service {
/** The values that can be used to select the service. */
static get aliases(): string[];
/** The logo URL. */
static get logoURL(): string;
/** Service's name. */
static get serviceName(): string;
/** The website URL. */
static get websiteURL(): string;
/** The base URL of the service's API. */
static get baseURL(): string;
/**
* Posts statistics to this service.
* <warn>Shard data posting is not supported for this service.</warn>
* @param options The options of the request
*/
static post(options: ServicePostOptions): Promise<import("axios").AxiosResponse<any>>;
/**
* Gets the bot listed on this service.
* @param id The bot's ID
*/
getBot(id: IDResolvable): Promise<import("axios").AxiosResponse<any>>;
/**
* Gets the user listed on this service.
* @param id The user's ID
*/
getUser(id: IDResolvable): Promise<import("axios").AxiosResponse<any>>;
/**
* Checks whether or not a user has voted for a bot on this service.
* @param botId The bot's ID
* @param userID The user's ID
*/
userVoted(botId: IDResolvable, userID: IDResolvable): Promise<import("axios").AxiosResponse<any>>;
/**
* Gets the bot's reviews on this service.
* @param id The bot's ID
*/
getBotReviews(id: IDResolvable): Promise<import("axios").AxiosResponse<any>>;
/**
* Gets the bot's analytics on this service.
* @param id The bot's ID
*/
getBotAnalytics(id: IDResolvable): Promise<import("axios").AxiosResponse<any>>;
}
Loading

0 comments on commit 975132c

Please sign in to comment.