Discord Bot Changes

1. Added ServerId to Delegate
2. Change Delegate storage to use DI.
This commit is contained in:
Brett Hewitson 2021-12-04 14:35:07 +10:00
parent c4bf4906ea
commit c5775181b3
6 changed files with 31 additions and 23 deletions

View file

@ -3,5 +3,5 @@ using System.Collections.Generic;
namespace ServerManagerTool.Discord.Delegates
{
public delegate IList<string> HandleCommandDelegate(CommandType commandType, string channelId, string profileId);
public delegate IList<string> HandleCommandDelegate(CommandType commandType, string serverId, string channelId, string profileId);
}