More fixes to the new config. Module loader reworked
This commit is contained in:
19
DiscordBotCore/Modules/ModuleData.cs
Normal file
19
DiscordBotCore/Modules/ModuleData.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace DiscordBotCore.Modules;
|
||||
|
||||
public class ModuleData
|
||||
{
|
||||
public string ModuleName { get; set; }
|
||||
public string ModulePath { get; set; }
|
||||
public bool IsEnabled { get; set; } = true;
|
||||
public IDictionary<string, string> MethodMapping { get; set; }
|
||||
|
||||
public ModuleData(string moduleName, string modulePath, IDictionary<string, string> methodMapping, bool isEnabled)
|
||||
{
|
||||
ModuleName = moduleName;
|
||||
ModulePath = modulePath;
|
||||
MethodMapping = methodMapping;
|
||||
IsEnabled = isEnabled;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user