From 08012d7c624b1f579336fdb17fffef43d4069f72 Mon Sep 17 00:00:00 2001 From: Ouroboros <66399070+vmorrisonwood@users.noreply.github.com> Date: Sat, 27 Jan 2024 00:59:30 +0000 Subject: [PATCH] fix(bot): add link to support server to group limit warnings (#605) --- PluralKit.Bot/Commands/Groups.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.Bot/Commands/Groups.cs b/PluralKit.Bot/Commands/Groups.cs index 4041f17c..ae401fcd 100644 --- a/PluralKit.Bot/Commands/Groups.cs +++ b/PluralKit.Bot/Commands/Groups.cs @@ -44,7 +44,7 @@ public class Groups var groupLimit = ctx.Config.GroupLimitOverride ?? Limits.MaxGroupCount; if (existingGroupCount >= groupLimit) throw new PKError( - $"System has reached the maximum number of groups ({groupLimit}). Please delete unused groups first in order to create new ones."); + $"System has reached the maximum number of groups ({groupLimit}). If you need to add more groups, you can either delete existing groups, or ask for your limit to be raised in the PluralKit support server: "); // Warn if there's already a group by this name var existingGroup = await ctx.Repository.GetGroupByName(ctx.System.Id, groupName); @@ -93,7 +93,7 @@ public class Groups if (existingGroupCount >= Limits.WarnThreshold(groupLimit)) await ctx.Reply( - $"{Emojis.Warn} You are approaching the per-system group limit ({existingGroupCount} / {groupLimit} groups). Please review your group list for unused or duplicate groups."); + $"{Emojis.Warn} You are approaching the per-system group limit ({existingGroupCount} / {groupLimit} groups). Once you reach this limit, you will be unable to create new groups until existing groups are deleted, or you can ask for your limit to be raised in the PluralKit support server: "); } public async Task RenameGroup(Context ctx, PKGroup target)