An open API service indexing awesome lists of open source software.

https://github.com/botblock/botlistapi

C# lib that allows you to post your bots server count to all of the Discord bot lists.
https://github.com/botblock/botlistapi

botlist botlistapi botlistspace botsfordiscord botsondiscord carbonitex discord discordbot discordbotlist discordbots discordbotsgroup discordbotworld discordlistapp discordservices discordsharp discordsharpplus

Last synced: 8 months ago
JSON representation

C# lib that allows you to post your bots server count to all of the Discord bot lists.

Awesome Lists containing this project

README

          

# BotListAPI
This is a C# lib that allows you to post your bots server count to all of the Discord bot lists.

If you have any issues/suggestions post an issue here, join my [Discord](https://discord.gg/TjF6QDC) or contact me BuilderB#0001

# Features
#### Please see at the bottom of this README for the todo list
- Diffrent logtypes (none, error only, info, debug)
- 17 Bot lists supported
- Supports normal and sharded bots
- Supports .NET Framework and .NET Core
- Manually trigger posting
- Automatically post server count every 10 minutes

# How to use
Install the NuGet package here https://www.nuget.org/packages/BotListAPI

Create a new instance of `BotListAPI.ListClient`

It is encouraged to not put tokens in this and instead load a file with the tokens incase you leak all your tokens
```
ListClient = new ListClient(_Client, new ListConfig
{
ArcaneBotList = "",
BotListSpace = "",
BotsOnDiscord = "",
BotsForDiscord = "",
CloudBotList = "",
DiscordBoats = "",
DiscordBots = "",
DiscordApps = "",
DiscordBotWorld = "",
DiscordBotListv2 = "",
DiscordExtremeList = "",
DivineBotList = "",
LBots = "",
MythicalBots = "",
TopGG = "",
YetAnotherBotList = "",
WonderBotList = ""
);
```
You can manually trigger posting using
ListClient.ListType.DiscordBots.Post();

Or you can automatically post it using the a background task (every 10 minutes)

> ListClient.Start();

This stops the background task

> ListClient.Stop();