aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authorLakelezz <[email protected]>2017-11-30 19:02:35 +0100
committeralex <[email protected]>2017-11-30 19:02:35 +0100
commita5eb1526b3ec2b57e5abbc84ccd995258ce2142b (patch)
tree623b4d7a74758cdb4659240d1fa3f4cb08fa6b7d /src/framework
parentMake help-commands customisable (#227) (diff)
downloadserenity-a5eb1526b3ec2b57e5abbc84ccd995258ce2142b.tar.xz
serenity-a5eb1526b3ec2b57e5abbc84ccd995258ce2142b.zip
Fix whitespacing and change `and` to `or`. (#228)
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/standard/create_help_command.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/framework/standard/create_help_command.rs b/src/framework/standard/create_help_command.rs
index 08cc6b4..a8e8704 100644
--- a/src/framework/standard/create_help_command.rs
+++ b/src/framework/standard/create_help_command.rs
@@ -179,7 +179,7 @@ impl CreateHelpCommand {
let mut concat_with_comma = false;
if self.0.lacking_permissions == HelpBehaviour::Strike {
- let _ = write!(strike_text, "require permissions");
+ let _ = write!(strike_text, " require permissions");
concat_with_comma = true;
}
@@ -196,7 +196,7 @@ impl CreateHelpCommand {
if self.0.wrong_channel == HelpBehaviour::Strike {
if concat_with_comma {
- let _ = write!(strike_text, " and are limited to DM/guilds");
+ let _ = write!(strike_text, " or are limited to DM/guilds");
} else {
let _ = write!(strike_text, " are limited to DM/guilds");
}