diff options
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/standard/help_commands.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/framework/standard/help_commands.rs b/src/framework/standard/help_commands.rs index 5c1c58f..6b85239 100644 --- a/src/framework/standard/help_commands.rs +++ b/src/framework/standard/help_commands.rs @@ -113,8 +113,7 @@ pub fn with_embeds(_: &mut Context, CommandOrAlias::Command(ref cmd) => { if has_all_requirements(cmd, msg) { found = Some((command_name, cmd)); - } - else { + } else { break; } }, @@ -125,8 +124,7 @@ pub fn with_embeds(_: &mut Context, CommandOrAlias::Command(ref cmd) => { if has_all_requirements(cmd, msg) { found = Some((name, cmd)); - } - else { + } else { break; } }, |