mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(bot): add member hid to rename response if new name contains spaces (#602)
This commit is contained in:
parent
36622905d3
commit
bf51c1921b
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ public class MemberEdit
|
|||
await ctx.Reply($"{Emojis.Success} Member renamed (using {newName.Length}/{Limits.MaxMemberNameLength} characters).");
|
||||
if (newName.Contains(" "))
|
||||
await ctx.Reply(
|
||||
$"{Emojis.Note} Note that this member's name now contains spaces. You will need to surround it with \"double quotes\" when using commands referring to it.");
|
||||
$"{Emojis.Note} Note that this member's name now contains spaces. You will need to surround it with \"double quotes\" when using commands referring to it, or just use the member's 5-character ID (which is `{target.Hid}`).");
|
||||
if (target.DisplayName != null)
|
||||
await ctx.Reply(
|
||||
$"{Emojis.Note} Note that this member has a display name set ({target.DisplayName}), and will be proxied using that name instead.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue