From 9e4f5d8e404fd1bc621bcda683b1a17376b8bfad Mon Sep 17 00:00:00 2001 From: spiral Date: Thu, 26 Aug 2021 11:54:28 -0400 Subject: [PATCH] fix strings for group rename --- 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 a9011559..a10cdb86 100644 --- a/PluralKit.Bot/Commands/Groups.cs +++ b/PluralKit.Bot/Commands/Groups.cs @@ -83,9 +83,9 @@ namespace PluralKit.Bot // Warn if there's already a group by this name var existingGroup = await _repo.GetGroupByName(conn, ctx.System.Id, newName); if (existingGroup != null && existingGroup.Id != target.Id) { - var msg = $"{Emojis.Warn} You already have a group in your system with the name \"{existingGroup.Name}\" (with ID `{existingGroup.Hid}`). Do you want to rename this member to that name too?"; + var msg = $"{Emojis.Warn} You already have a group in your system with the name \"{existingGroup.Name}\" (with ID `{existingGroup.Hid}`). Do you want to rename this group to that name too?"; if (!await ctx.PromptYesNo(msg, "Rename")) - throw new PKError("Group creation cancelled."); + throw new PKError("Group rename cancelled."); } await _repo.UpdateGroup(conn, target.Id, new GroupPatch {Name = newName});