Created Helper classes for Discord Bot and Plugin

This commit is contained in:
Brett Hewitson 2021-12-04 15:01:47 +10:00
parent 8d9d208a66
commit d526a3f457
8 changed files with 74 additions and 35 deletions

View file

@ -0,0 +1,13 @@
using ServerManagerTool.Discord.Enums;
using System.Collections.Generic;
namespace ServerManagerTool.Utils
{
internal static class DiscordBotHelper
{
public static IList<string> HandleDiscordCommand(CommandType commandType, string serverId, string channelId, string profileId)
{
return new List<string>() { $"{commandType}; {serverId}; {channelId}; {profileId ?? "no profile"}" };
}
}
}