mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Created Helper classes for Discord Bot and Plugin
This commit is contained in:
parent
8d9d208a66
commit
d526a3f457
8 changed files with 74 additions and 35 deletions
13
src/ConanServerManager/Utils/DiscordBotHelper.cs
Normal file
13
src/ConanServerManager/Utils/DiscordBotHelper.cs
Normal 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"}" };
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue