mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
fix: check for attachments in pk;system banner
This commit is contained in:
parent
9ab1a873e5
commit
ec027f0366
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ public class SystemEdit
|
||||||
{
|
{
|
||||||
var isOwnSystem = target.Id == ctx.System?.Id;
|
var isOwnSystem = target.Id == ctx.System?.Id;
|
||||||
|
|
||||||
if (!ctx.HasNext())
|
if (!ctx.HasNext() && ctx.Message.Attachments.Length == 0)
|
||||||
{
|
{
|
||||||
if ((target.BannerImage?.Trim() ?? "").Length > 0)
|
if ((target.BannerImage?.Trim() ?? "").Length > 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue