mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Merge pull request #245 from dev-kittens/fix/clear-serveravatar
Fix "clear server avatar" confirmation message
This commit is contained in:
commit
1147603520
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue