Split up Context class into more extension methods

This commit is contained in:
Ske
2020-07-01 18:27:26 +02:00
parent 53036da6a5
commit 7fef8c1dde
5 changed files with 207 additions and 176 deletions

View File

@@ -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)