use correct name for resolving flags and params in codegen

This commit is contained in:
dusk 2025-10-11 05:49:01 +00:00
parent 42c9429953
commit ca9f25ff64
No known key found for this signature in database
2 changed files with 11 additions and 8 deletions

View file

@ -8,7 +8,7 @@ public partial class CommandTree
{
if (commands.Length == 0)
{
await ctx.Reply($"No commands related to {subject} was found. For the full list of commands, see the website: <https://pluralkit.me/commands>");
await ctx.Reply($"No commands related to `{subject}` was found. For the full list of commands, see the website: <https://pluralkit.me/commands>");
return;
}
@ -17,7 +17,7 @@ public partial class CommandTree
new MessageComponent()
{
Type = ComponentType.Text,
Content = $"Here is a list of commands related to {subject}:\n{commands}\nFor a full list of possible commands, see <https://pluralkit.me/commands>.",
Content = $"Here is a list of commands related to `{subject}`:\n{commands}\nFor a full list of possible commands, see <https://pluralkit.me/commands>.",
}
]
);