mirror of
https://github.com/Tribufu/ServerManagers
synced 2026-08-10 05:01:05 +00:00
Discord Bot Scaffolding
This commit is contained in:
parent
ceb3ab73c4
commit
c4bf4906ea
24 changed files with 1119 additions and 5 deletions
19
src/ServerManager.Discord/ServerManagerBotFactory.cs
Normal file
19
src/ServerManager.Discord/ServerManagerBotFactory.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue