diff options
| author | Lakelezz <[email protected]> | 2018-07-20 00:01:54 +0200 |
|---|---|---|
| committer | Alex M. M <[email protected]> | 2018-07-20 00:01:54 +0200 |
| commit | 614402f7b963a713bfa98bc5b1cfa968e8d6c103 (patch) | |
| tree | be6107976ef687a232edfa6aa4d417b881c654b4 /src/framework | |
| parent | Use `current` to figure out the end quote (diff) | |
| download | serenity-614402f7b963a713bfa98bc5b1cfa968e8d6c103.tar.xz serenity-614402f7b963a713bfa98bc5b1cfa968e8d6c103.zip | |
Do not suggest command if no command is actually related to input. (#350)
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/standard/help_commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/standard/help_commands.rs b/src/framework/standard/help_commands.rs index d951222..fd74ace 100644 --- a/src/framework/standard/help_commands.rs +++ b/src/framework/standard/help_commands.rs @@ -497,7 +497,7 @@ pub fn plain<H: BuildHasher>( } let _ = msg.channel_id - .say(&help_options.suggestion_text.replace("{}", name)); + .say(&help_options.command_not_found_text.replace("{}", name)); return Ok(()); } |