mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(bot): 'g' shorthand for pk;m <n> group (#532)
This commit is contained in:
parent
5a248e26a2
commit
4ca296de6c
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ public partial class CommandTree
|
|||
await ctx.Execute<MemberAvatar>(MemberAvatar, m => m.WebhookAvatar(ctx, target));
|
||||
else if (ctx.Match("banner", "splash", "cover"))
|
||||
await ctx.Execute<MemberEdit>(MemberBannerImage, m => m.BannerImage(ctx, target));
|
||||
else if (ctx.Match("group", "groups"))
|
||||
else if (ctx.Match("group", "groups", "g"))
|
||||
if (ctx.Match("add", "a"))
|
||||
await ctx.Execute<GroupMember>(MemberGroupAdd,
|
||||
m => m.AddRemoveGroups(ctx, target, Groups.AddRemoveOperation.Add));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue