mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-10 07:47:53 +00:00
Split up Context class into more extension methods
This commit is contained in:
parent
53036da6a5
commit
7fef8c1dde
5 changed files with 207 additions and 176 deletions
|
|
@ -327,7 +327,7 @@ namespace PluralKit.Bot
|
|||
{
|
||||
var commandListStr = CreatePotentialCommandList(potentialCommands);
|
||||
await ctx.Reply(
|
||||
$"{Emojis.Error} Unknown command `pk;{ctx.FullCommand}`. Perhaps you meant to use one of the following commands?\n{commandListStr}\n\nFor a full list of possible commands, see <https://pluralkit.me/commands>.");
|
||||
$"{Emojis.Error} Unknown command `pk;{ctx.FullCommand()}`. Perhaps you meant to use one of the following commands?\n{commandListStr}\n\nFor a full list of possible commands, see <https://pluralkit.me/commands>.");
|
||||
}
|
||||
|
||||
private async Task PrintCommandExpectedError(Context ctx, params Command[] potentialCommands)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue