This is the discord implementation for the Awesome Chat Bot Framework
It allows you to use discord with your chatbot using the AwesomeChatBot framework.
Install either using nuget:
dotnet add package AwesomeChatBot.Discord
Or by cloning this repository and referencing AwesomeChatBot.Discord.csproj
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).