Discord Bot Scaffolding

This commit is contained in:
Brett Hewitson 2021-12-04 11:39:01 +10:00
parent ceb3ab73c4
commit c4bf4906ea
24 changed files with 1119 additions and 5 deletions

View file

@ -0,0 +1,19 @@
using ServerManagerTool.Discord.Interfaces;
namespace ServerManagerTool.Discord
{
public static class ServerManagerBotFactory
{
private static IServerManagerBot _serverManagerBot;
public static IServerManagerBot GetServerManagerBot()
{
if (_serverManagerBot is null)
{
_serverManagerBot = new ServerManagerBot();
}
return _serverManagerBot;
}
}
}