Giter VIP home page Giter VIP logo

botblock / botlistapi Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 0.0 1.71 MB

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

Home Page: https://docs.fluxpoint.dev/botlistapi

License: GNU General Public License v3.0

C# 100.00%
discord discordbot discordsharp discordsharpplus botlist botlistspace discordbots discordbotlist discordbotworld discordservices

botlistapi's Introduction

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 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();

botlistapi's People

Contributors

davidcralph avatar xxbuilderbxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.