Skip to content

DiscordServices/DiscordServices.cs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordServices.cs

C# api lib for the website

How to use

Install the NuGet package here https://www.nuget.org/packages/DiscordServices.cs

Create an instance of the client, it is encouraged to not put tokens in this and instead load a file with the tokens incase you leak all your tokens

public static DServicesClient DServices;

DServicesClient = new DServicesClient(DiscordClient, Token);

You can automatically post your server count in the background with this (every 10 minutes)

DServices.Start();

This stops the background task

DServices.Stop();

Or you can post manual requests using

DServices.PostServerCount();

DServices.PostNews(new News { title = "News!", content = "Yay" } );

DServices.PostCommands(List commands);

About

C# api lib for the website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages