Skip to content

VaraniumSharp.Discord is a VaraniumSharp addon that wraps around Discord.Net

License

Notifications You must be signed in to change notification settings

NinetailLabs/VaraniumSharp.Discord

Repository files navigation

VaraniumSharp.Discord

Build status NuGet Coverage Status

VaraniumSharp.Discord is a VaraniumSharp add-on that wraps around Discord.Net that implements all logic required to manage a basic Discord socket bot. This leaves only the creation of commands to the implementer without the bot management boilerplate code having to be rewritten.

Documentation

Documentation can be found here

Requirements

  • Dependency Injection container that implements IServiceProvider as it is used by the bot to resolve commands
  • Implementer must set the TokenType and Token properties in the DiscordBotConfig class
  • [Optional] Implement custom IDiscordBotConfig that loads config values from custom provider

Logging

The framework uses the VaraniumSharp StaticLogger for logging log messages from Discord. The StaticLogger uses Microsoft.Extensions.Logging.Abstractions for logging so any logger that has a provider for it (like Serilog.Extensions.Logging) can be used to get the log messages.

Icon

Sprout by parkjisun from the Noun Project

About

VaraniumSharp.Discord is a VaraniumSharp addon that wraps around Discord.Net

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •