Using .h on non-existant command will once again show an error.
This commit is contained in:
parent
28115aa2b7
commit
b0af0fbb08
@ -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;
|
||||
|
@ -42,12 +42,12 @@ namespace NadekoBot.Services.Database.Models
|
||||
public HashSet<EightBallResponse> EightBallResponses { get; set; } = new HashSet<EightBallResponse>();
|
||||
public HashSet<RaceAnimal> RaceAnimals { get; set; } = new HashSet<RaceAnimal>();
|
||||
|
||||
public string DMHelpString { get; set; } = "Type `-h` for help.";
|
||||
public string DMHelpString { get; set; } = "Type `.h` for help.";
|
||||
public string HelpString { get; set; } = @"To add me to your server, use this link -> <https://discordapp.com/oauth2/authorize?client_id={0}&scope=bot&permissions=66186303>
|
||||
You can use `{1}modules` command to see a list of all modules.
|
||||
You can use `{1}commands ModuleName`
|
||||
(for example `{1}commands Administration`) to see a list of all of the commands in that module.
|
||||
For a specific command help, use `{1}h CommandName` (for example {1}h !!q)
|
||||
For a specific command help, use `{1}h CommandName` (for example {1}h {1}q)
|
||||
|
||||
|
||||
**LIST OF COMMANDS CAN BE FOUND ON THIS LINK**
|
||||
|
Loading…
Reference in New Issue
Block a user