Skip to content

Eschryn/Fluxify

Repository files navigation

Fluxify

.NET library for building applications that interact with fluxer

Getting Started

See Example.cs for a simple starting point

Building a Bot

Start with the Fluxify.Bot package.

var bot = new Bot("!", new FluxerConfig())

bot.Commands.Command("ping", () => Console.WriteLine("pong!"));

await bot.RunAsync(new BotTokenCredentials("..."));

Logging (Simple)

Using FluxerConfig provide a ILoggerFactory.

Example with Microsoft.Extensions.Logging.Console:

var loggerFactory = LoggerFactory.Create(builder => builder.AddConsole());
var bot = new Bot("!", new FluxerConfig(loggerFactory));
...

Dependency Injection

Example with Microsoft.Extensions.DependencyInjection:

TODO

About

.NET library for Fluxer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages