Fixed loading plugins at startup
This commit is contained in:
@@ -37,7 +37,7 @@ namespace PluginManager.Others.Actions
|
||||
Config.Logger.Log($"Action {name} loaded successfully", typeName, LogLevel.INFO);
|
||||
}
|
||||
|
||||
public async Task<string> Execute(string actionName, string[]? args)
|
||||
public async Task<string> Execute(string actionName, params string[]? args)
|
||||
{
|
||||
if (!Actions.ContainsKey(actionName))
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace PluginManager.Others
|
||||
public SocketCommandContext context { get; init; }
|
||||
public string cleanContent { get; init; }
|
||||
public string commandUsed { get;init; }
|
||||
public string[] arguments { get;init; }
|
||||
public string[]? arguments { get;init; }
|
||||
|
||||
public DBCommandExecutingArguments(SocketCommandContext context, string cleanContent, string commandUsed, string[] arguments)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user