Skip to content

RononDex/AwesomeChatBot.Discord

Repository files navigation

AwesomeChatBot.Discord

.NET Core License: MIT Nuget

This is the discord implementation for the Awesome Chat Bot Framework

It allows you to use discord with your chatbot using the AwesomeChatBot framework.

Usage

Install either using nuget:

dotnet add package AwesomeChatBot.Discord

Or by cloning this repository and referencing AwesomeChatBot.Discord.csproj

Usage in code

To register the discord implementation with your chat bot:

            var discordWrapper = new DiscordWrapper(discordToken, loggerFactory);
            var wrappers = new List<ApiWrapper>() { discordWrapper };
            var botFramework = new AwesomeChatBot.AwesomeChatBot(wrappers, loggerFactory, settings);

loggerFactory is the factory used to create loggers, this allows you to use your logging framework of choice (loggerFactory is of type ILoggerFactory from the Microsoft.Extensions.Logging nuget package).

About

Discord wrapper for the AwesomeChatBot framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages