botlist.space 2.1.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
Install-Package botlist.space -Version 2.1.0
dotnet add package botlist.space --version 2.1.0
<PackageReference Include="botlist.space" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add botlist.space --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: botlist.space, 2.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install botlist.space as a Cake Addin
#addin nuget:?package=botlist.space&version=2.1.0

// Install botlist.space as a Cake Tool
#tool nuget:?package=botlist.space&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

C# botlist.space wrapper

BSClient

Create an instance of BSClient like the following

var client = new BSClient(new BSConfiguration("yourUserToken", "yourBotToken"));

From here on you can just use IntelliSense to check out all super powers you got now

Gateway

Create an instance of BSGateway like the following

var gateway = new BSGateway(new[]{"yourBotTokens"});
// Then initialize this gateway
await gateway.Initialize();

Then you can hook into the events

BSGateway#OnPageView
BSGateway#OnBotInvite
BSGateway#OnBotUpvote

and do whatever you want with the provided data

For additional information you can hook into the event

BSGateway#Log
// and then patternmatch
BSLogArgs#Data

Webhook

First of all you need to enable the webhook listener in the BSConfiguration and set webhook port and threads

var client = new BSClient(new BSConfiguration("yourUserToken", "yourBotToken", receiveWebhooks: true){WebhookPort = 8080, WebhookThreads = 2});

Then you can just hook into the BSClient#OnUpvote event and use IntelliSense

#Note Make sure to open ports e.g. I would not recommend the webhook, just use the gateway instead.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated