Add short-hand group aliases

This commit is contained in:
Ske 2019-07-10 09:35:37 +02:00
parent 01c923c832
commit 8dea58437d
3 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@ using Image = SixLabors.ImageSharp.Image;
namespace PluralKit.Bot.Commands
{
[Group("member")]
[Alias("m")]
public class MemberCommands : ContextParameterModuleBase<PKMember>
{
public SystemStore Systems { get; set; }

View File

@ -10,6 +10,7 @@ using NodaTime.TimeZones;
namespace PluralKit.Bot.Commands
{
[Group("switch")]
[Alias("sw")]
public class SwitchCommands: ModuleBase<PKCommandContext>
{
public SystemStore Systems { get; set; }

View File

@ -14,6 +14,7 @@ using PluralKit.Core;
namespace PluralKit.Bot.Commands
{
[Group("system")]
[Alias("s")]
public class SystemCommands : ContextParameterModuleBase<PKSystem>
{
public override string Prefix => "system";