Using .h on non-existant command will once again show an error.

This commit is contained in:
Master Kwoth
2017-06-13 02:50:01 +02:00
parent 28115aa2b7
commit b0af0fbb08
2 changed files with 9 additions and 2 deletions

View File

@@ -81,8 +81,15 @@ namespace NadekoBot.Modules.Help
await ConfirmLocalized("commands_instr", Prefix).ConfigureAwait(false);
}
[NadekoCommand, Usage, Description, Aliases]
[Priority(1)]
public async Task H([Remainder] string fail)
{
await ReplyErrorLocalized("command_not_found").ConfigureAwait(false);
}
[NadekoCommand, Usage, Description, Aliases]
[Priority(0)]
public async Task H([Remainder] CommandInfo com = null)
{
var channel = Context.Channel;