From d5c6e2baac8263101c6f032b0d6f9711ecb59687 Mon Sep 17 00:00:00 2001 From: Ske Date: Tue, 2 Jun 2020 02:02:07 +0200 Subject: [PATCH] Don't post an error after clearing avatar --- PluralKit.Bot/Commands/MemberAvatar.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PluralKit.Bot/Commands/MemberAvatar.cs b/PluralKit.Bot/Commands/MemberAvatar.cs index 86e9f4d9..74df6381 100644 --- a/PluralKit.Bot/Commands/MemberAvatar.cs +++ b/PluralKit.Bot/Commands/MemberAvatar.cs @@ -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}**)."); else 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)