Fix "clear server avatar" confirmation message
This commit is contained in:
parent
537783dd96
commit
8956777c9a
@ -85,7 +85,7 @@ namespace PluralKit.Bot
|
||||
private async Task AvatarCommandTree(AvatarLocation location, Context ctx, PKMember target, MemberGuildSettings? guildData)
|
||||
{
|
||||
// First, see if we need to *clear*
|
||||
if (await ctx.MatchClear("this member's avatar"))
|
||||
if (await ctx.MatchClear(location == AvatarLocation.Server ? "this member's server avatar" : "this member's avatar"))
|
||||
{
|
||||
ctx.CheckSystem().CheckOwnMember(target);
|
||||
await AvatarClear(location, ctx, target, guildData);
|
||||
|
Loading…
Reference in New Issue
Block a user