Skip to content

A .Net wrapper for the UnbelievaBoat Discord bot API.

License

Notifications You must be signed in to change notification settings

Anu6is/unb-api-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unb-api-net Believe.Net

A .Net wrapper for the UnbelievaBoat Discord bot API.

Documentation

The API documentation can be found at https://unbelievaboat.com/api/docs

Installation

Release builds are available from Nuget

Example

Visual Basic

Dim UBClient As New UnbelievaClient("TOKEN")
Dim guildId = 551567205461131355
Dim userId = 551548379835006976
Dim userBalance = Await UBClient.GetUserBalanceAsync(guildId, userId)

Console.WriteLine(userBalance.Total)

C#

UnbelievaClient UBClient = new UnbelievaClient("TOKEN");
var guildId = 551567205461131355;
var userId = 551548379835006976;
var userBalance = await UBClient.GetUserBalanceAsync(guildId, userId);

Console.WriteLine(userBalance.Total);