PluralKit/PluralKit.Bot/CommandSystem/CommandGroup.cs

19 lines
444 B
C#
Raw Normal View History

2019-10-05 05:41:00 +00:00
using System.Collections.Generic;
namespace PluralKit.Bot
2019-10-05 05:41:00 +00:00
{
public class CommandGroup
{
public string Key { get; }
public string Description { get; }
2021-08-27 15:03:47 +00:00
2019-10-05 05:41:00 +00:00
public ICollection<Command> Children { get; }
public CommandGroup(string key, string description, ICollection<Command> children)
{
Key = key;
Description = description;
Children = children;
}
}
}