Don't post an error after clearing avatar

This commit is contained in:
Ske 2020-06-02 02:02:07 +02:00
parent 62207a9255
commit d5c6e2baac

View File

@ -108,6 +108,8 @@ namespace PluralKit.Bot
await ctx.Reply($"{Emojis.Success} Member server avatar cleared. This member will now use the global avatar in this server (**{ctx.Guild.Name}**)."); await ctx.Reply($"{Emojis.Success} Member server avatar cleared. This member will now use the global avatar in this server (**{ctx.Guild.Name}**).");
else else
await ctx.Reply($"{Emojis.Success} Member server avatar cleared. This member now has no avatar."); await ctx.Reply($"{Emojis.Success} Member server avatar cleared. This member now has no avatar.");
return;
} }
if (ctx.RemainderOrNull() == null && ctx.Message.Attachments.Count == 0) if (ctx.RemainderOrNull() == null && ctx.Message.Attachments.Count == 0)