check for null pronouns in ShowPronouns always

This commit is contained in:
dawn 2026-01-17 07:59:33 +03:00
parent 5a6d03ca1a
commit 9fbd68d0af
No known key found for this signature in database

View file

@ -158,7 +158,7 @@ public class MemberEdit
if (ctx.System?.Id == target.System)
noPronounsSetMessage += $" To set some, type `{ctx.DefaultPrefix}member {target.Reference(ctx)} pronouns <pronouns>`.";
if (format != ReplyFormat.Standard)
// check for null since we are doing a query
if (target.Pronouns == null)
{
await ctx.Reply(noPronounsSetMessage);