From ec027f0366758932ed0498f25a327b151da2f8e1 Mon Sep 17 00:00:00 2001 From: spiral Date: Thu, 23 Dec 2021 22:49:15 -0500 Subject: [PATCH] fix: check for attachments in pk;system banner --- PluralKit.Bot/Commands/SystemEdit.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/SystemEdit.cs b/PluralKit.Bot/Commands/SystemEdit.cs index 0ea5c408..0ea056c9 100644 --- a/PluralKit.Bot/Commands/SystemEdit.cs +++ b/PluralKit.Bot/Commands/SystemEdit.cs @@ -411,7 +411,7 @@ public class SystemEdit { var isOwnSystem = target.Id == ctx.System?.Id; - if (!ctx.HasNext()) + if (!ctx.HasNext() && ctx.Message.Attachments.Length == 0) { if ((target.BannerImage?.Trim() ?? "").Length > 0) {