aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard/create_help_command.rs
diff options
context:
space:
mode:
authorLakelezz <[email protected]>2018-01-31 22:51:30 +0100
committeralex <[email protected]>2018-01-31 22:51:30 +0100
commit7912f23bed7ddc540c46aee0ecd64c6b60daa0f4 (patch)
treeeff117ca58ca2c69ffa6f2a4c5f63ba51f19df0a /src/framework/standard/create_help_command.rs
parentMultiple audio stream playback, volume control, pausing (diff)
downloadserenity-7912f23bed7ddc540c46aee0ecd64c6b60daa0f4.tar.xz
serenity-7912f23bed7ddc540c46aee0ecd64c6b60daa0f4.zip
Fix customised help related docs (#267)
Diffstat (limited to 'src/framework/standard/create_help_command.rs')
-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 aba38cc..06f9dda 100644
--- a/src/framework/standard/create_help_command.rs
+++ b/src/framework/standard/create_help_command.rs
@@ -156,14 +156,14 @@ impl CreateHelpCommand {
self
}
- /// Sets the colour for the embed if an error occured.
+ /// Sets the colour for the embed if no error occured.
pub fn embed_success_colour(mut self, colour: Colour) -> Self {
self.0.embed_success_colour = colour;
self
}
- /// Sets the colour for the embed if no error occured.
+ /// Sets the colour for the embed if an error occured.
pub fn embed_error_colour(mut self, colour: Colour) -> Self {
self.0.embed_error_colour = colour;