mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(bot): Switch subcommand aliases (#531)
This commit is contained in:
parent
199d5927f5
commit
97be223173
1 changed files with 2 additions and 2 deletions
|
|
@ -408,9 +408,9 @@ public partial class CommandTree
|
|||
{
|
||||
if (ctx.Match("out"))
|
||||
await ctx.Execute<Switch>(SwitchOut, m => m.SwitchOut(ctx));
|
||||
else if (ctx.Match("move", "shift", "offset"))
|
||||
else if (ctx.Match("move", "m", "shift", "offset"))
|
||||
await ctx.Execute<Switch>(SwitchMove, m => m.SwitchMove(ctx));
|
||||
else if (ctx.Match("edit", "replace"))
|
||||
else if (ctx.Match("edit", "e", "replace"))
|
||||
if (ctx.Match("out"))
|
||||
await ctx.Execute<Switch>(SwitchEditOut, m => m.SwitchEditOut(ctx));
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue