mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
19 lines
466 B
C#
19 lines
466 B
C#
|
|
using System.Collections.Generic;
|
||
|
|
|
||
|
|
namespace PluralKit.Bot.CommandSystem
|
||
|
|
{
|
||
|
|
public class CommandGroup
|
||
|
|
{
|
||
|
|
public string Key { get; }
|
||
|
|
public string Description { get; }
|
||
|
|
|
||
|
|
public ICollection<Command> Children { get; }
|
||
|
|
|
||
|
|
public CommandGroup(string key, string description, ICollection<Command> children)
|
||
|
|
{
|
||
|
|
Key = key;
|
||
|
|
Description = description;
|
||
|
|
Children = children;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|