From 1776902000e9edddf378739025cce3d90c9ac897 Mon Sep 17 00:00:00 2001 From: asleepyskye Date: Thu, 1 Jan 2026 11:16:27 -0500 Subject: [PATCH] fix(bot): fix server name format command --- PluralKit.Bot/Commands/Config.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/Config.cs b/PluralKit.Bot/Commands/Config.cs index 1feb7c37..24cfb43f 100644 --- a/PluralKit.Bot/Commands/Config.cs +++ b/PluralKit.Bot/Commands/Config.cs @@ -645,10 +645,10 @@ public class Config var clearFlag = ctx.MatchClear(); var format = ctx.MatchFormat(); + var guildCfg = await ctx.Repository.GetSystemGuild(ctx.Guild.Id, ctx.System.Id); // if there's nothing next or what's next is raw/plaintext and we're not clearing, it's a query if ((!ctx.HasNext() || format != ReplyFormat.Standard) && !clearFlag) { - var guildCfg = await ctx.Repository.GetSystemGuild(ctx.Guild.Id, ctx.System.Id); if (guildCfg.NameFormat == null) await ctx.Reply("You do not have a specific name format set for this server and member names are formatted with your global name format."); else