BotListAPI 2.2.0
Please use 5.5.3 or above.
See the version list below for details.
dotnet add package BotListAPI --version 2.2.0
NuGet\Install-Package BotListAPI -Version 2.2.0
<PackageReference Include="BotListAPI" Version="2.2.0" />
paket add BotListAPI --version 2.2.0
#r "nuget: BotListAPI, 2.2.0"
// Install BotListAPI as a Cake Addin
#addin nuget:?package=BotListAPI&version=2.2.0
// Install BotListAPI as a Cake Tool
#tool nuget:?package=BotListAPI&version=2.2.0
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/WJTYdNb or contact me xXBuilderBXx#8265
Features
Please see at the bottom of this README for the todo list
- Diffrent logtypes (none, error only, info, debug)
- 16 Bot lists supported
- Information about the bot lists, name, website, owner (Name#tag & ID)
- 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
{
DiscordBots = "",
BotsForDiscord = "",
BotListSpace = "",
BotsOnDiscord = "",
Carbonitex = "",
DiscordBotList = "",
DiscordBotListv2 = "",
DiscordBotListv3 = "",
DiscordBotsGroup = "",
DiscordBotWorld = "",
DiscordListApp = "",
DiscordServices = "",
DivineBotList = "",
DiscordBestBots = "",
DiscordBoats = "",
DiscordBoatsv2 = ""
);
You can manually trigger posting using ListClient.DiscordBots.Post();
Or you can automatically post it using the a background thread (every 10 minutes)
ListClient.Start();
This stops the background thread
ListClient.Stop();
Supports BotBlock.org
This uses less requests and is enabled by default with ListClient.BotBlock = true;
Bot lists
- Discord Bots | https://bots.discord.pw
- Discord Bot List v2 | https://discordbotlist.com
- Discord Bot List v3 | https://discordbotlist.xyz
- Discord Services | http://discord.services
- Bots For Discord | https://botsfordiscord.com
- Carbonitex | https://www.carbonitex.net
- Bot List Space | https://botlist.space
- Bots On Discord | https://bots.ondiscord.xyz
- Discord Bot World | https://discordbot.world
- Discord Bots Group | https://discordbots.group
- Discord List App | https://bots.discordlist.app
- Divine Bot List | https://divinediscordbots.com
- Discord Bot List | https://discordbots.org
- Discord Best Bots | https://discordsbestbots.xyz
- Discord Boats | https://discordboats.xyz
- Discord Boats v2 | https://discordboats.club
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Discord.Net.WebSocket (>= 1.0.0)
- Newtonsoft.Json (>= 10.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on BotListAPI:
Repository | Stars |
---|---|
fmbot-discord/fmbot
.fmbot is a social Discord bot that provides music statistics for you and your friends.
|
Fixed BotsForDiscord and enabled botblock support by default