mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
use correct name for resolving flags and params in codegen
This commit is contained in:
parent
42c9429953
commit
ca9f25ff64
2 changed files with 11 additions and 8 deletions
|
|
@ -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>.",
|
||||
}
|
||||
]
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue