mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 09:10:14 +00:00
Add short-hand group aliases
This commit is contained in:
parent
01c923c832
commit
8dea58437d
3 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue