feat: add 'pk;s <id> avatar' command

This commit is contained in:
spiral
2021-10-30 19:02:21 -04:00
parent 7c9a375393
commit 3e2441cf3a
2 changed files with 16 additions and 5 deletions

View File

@@ -329,6 +329,8 @@ namespace PluralKit.Bot
await ctx.Reply(
$"{Emojis.Error} {await CreateSystemNotFoundError(ctx)}\n\nPerhaps you meant to use one of the following commands?\n{list}");
}
else if (ctx.Match("avatar", "picture", "icon", "image", "pic", "pfp"))
await ctx.Execute<SystemEdit>(SystemAvatar, m => m.Avatar(ctx, target));
else if (ctx.Match("list", "l", "members"))
await ctx.Execute<SystemList>(SystemList, m => m.MemberList(ctx, target));
else if (ctx.Match("find", "search", "query", "fd", "s"))