Add short-hand group aliases
This commit is contained in:
parent
01c923c832
commit
8dea58437d
@ -12,6 +12,7 @@ using Image = SixLabors.ImageSharp.Image;
|
|||||||
namespace PluralKit.Bot.Commands
|
namespace PluralKit.Bot.Commands
|
||||||
{
|
{
|
||||||
[Group("member")]
|
[Group("member")]
|
||||||
|
[Alias("m")]
|
||||||
public class MemberCommands : ContextParameterModuleBase<PKMember>
|
public class MemberCommands : ContextParameterModuleBase<PKMember>
|
||||||
{
|
{
|
||||||
public SystemStore Systems { get; set; }
|
public SystemStore Systems { get; set; }
|
||||||
|
@ -10,6 +10,7 @@ using NodaTime.TimeZones;
|
|||||||
namespace PluralKit.Bot.Commands
|
namespace PluralKit.Bot.Commands
|
||||||
{
|
{
|
||||||
[Group("switch")]
|
[Group("switch")]
|
||||||
|
[Alias("sw")]
|
||||||
public class SwitchCommands: ModuleBase<PKCommandContext>
|
public class SwitchCommands: ModuleBase<PKCommandContext>
|
||||||
{
|
{
|
||||||
public SystemStore Systems { get; set; }
|
public SystemStore Systems { get; set; }
|
||||||
|
@ -14,6 +14,7 @@ using PluralKit.Core;
|
|||||||
namespace PluralKit.Bot.Commands
|
namespace PluralKit.Bot.Commands
|
||||||
{
|
{
|
||||||
[Group("system")]
|
[Group("system")]
|
||||||
|
[Alias("s")]
|
||||||
public class SystemCommands : ContextParameterModuleBase<PKSystem>
|
public class SystemCommands : ContextParameterModuleBase<PKSystem>
|
||||||
{
|
{
|
||||||
public override string Prefix => "system";
|
public override string Prefix => "system";
|
||||||
|
Loading…
Reference in New Issue
Block a user