feat: add 'sa' alias to serveravatar command

This commit is contained in:
spiral 2022-01-19 17:23:10 -05:00
parent c62b9c2d40
commit d19242b89d
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -285,7 +285,7 @@ public partial class CommandTree
m => m.AddRemoveGroups(ctx, target, Groups.AddRemoveOperation.Remove)); m => m.AddRemoveGroups(ctx, target, Groups.AddRemoveOperation.Remove));
else else
await ctx.Execute<GroupMember>(MemberGroups, m => m.ListMemberGroups(ctx, target)); await ctx.Execute<GroupMember>(MemberGroups, m => m.ListMemberGroups(ctx, target));
else if (ctx.Match("serveravatar", "servericon", "serverimage", "serverpfp", "serverpic", "savatar", "spic", else if (ctx.Match("serveravatar", "sa", "servericon", "serverimage", "serverpfp", "serverpic", "savatar", "spic",
"guildavatar", "guildpic", "guildicon", "sicon")) "guildavatar", "guildpic", "guildicon", "sicon"))
await ctx.Execute<MemberAvatar>(MemberServerAvatar, m => m.ServerAvatar(ctx, target)); await ctx.Execute<MemberAvatar>(MemberServerAvatar, m => m.ServerAvatar(ctx, target));
else if (ctx.Match("displayname", "dn", "dname", "nick", "nickname", "dispname")) else if (ctx.Match("displayname", "dn", "dname", "nick", "nickname", "dispname"))