Added base discord bot
This commit is contained in:
20
Moonlight/App/Services/DiscordBot/BaseModule.cs
Normal file
20
Moonlight/App/Services/DiscordBot/BaseModule.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user