Updated ICommandAction.cs and DBEvent.cs. Removed thread request from DBEvent and added special thread request to ICommandAction.cs

This commit is contained in:
2024-07-22 19:20:17 +03:00
parent 08c5febd66
commit 8c338820c5
42 changed files with 691 additions and 26 deletions

View File

@@ -12,8 +12,6 @@ internal class LevelEvent : DBEvent
public string Name => "Leveling System Event Handler";
public string Description => "The Leveling System Event Handler";
public bool RequireOtherThread => false;
public async void Start(DiscordSocketClient client)
{

View File

@@ -10,7 +10,7 @@ public class ReloadAction: ICommandAction
public string? Description => "Reloads the Leveling System config file";
public string? Usage => "LevelingSystemReload";
public InternalActionRunType RunType => InternalActionRunType.OnCall;
public bool RequireOtherThread => false;
public IEnumerable<InternalActionOption> ListOfOptions => [];
public async Task Execute(string[]? args)