Added base discord bot

This commit is contained in:
Marcel Baumgartner
2023-03-06 20:25:21 +01:00
parent a480b35fe6
commit b4680922c8
4 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using Discord.WebSocket;
namespace Moonlight.App.Services.DiscordBot;
public class BaseModule
{
public DiscordSocketClient Client { get; set; }
public ConfigService ConfigService { get; set; }
public IServiceScope Scope { get; set; }
public BaseModule(
DiscordSocketClient client,
ConfigService configService,
IServiceScope scope)
{
Client = client;
ConfigService = configService;
Scope = scope;
}
}