Don't post an error after clearing avatar
This commit is contained in:
parent
62207a9255
commit
d5c6e2baac
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user