aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-03 09:38:49 -0800
committerAustin Hellyer <[email protected]>2016-12-03 09:38:49 -0800
commit5065ef9b9d086587fa43f17daf9a1cafa0fd33d5 (patch)
tree31de181281e93b17ffc8904741c342bc360747f9 /src/utils
parentAdd Member.colour (diff)
downloadserenity-5065ef9b9d086587fa43f17daf9a1cafa0fd33d5.tar.xz
serenity-5065ef9b9d086587fa43f17daf9a1cafa0fd33d5.zip
Make the default Colour value the actual default
The Colour value defaulted to 0x0; this is incorrect, as Discord's default colour value is actually 0x99AAB5.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/colour.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/colour.rs b/src/utils/colour.rs
index 4e0b3ca..ae4d212 100644
--- a/src/utils/colour.rs
+++ b/src/utils/colour.rs
@@ -291,10 +291,10 @@ colour! {
impl Default for Colour {
/// Creates a default value for a `Colour`, setting the inner value to `0`.
- /// This is equivilant to setting the RGB value to `(0, 0, 0)`.
+ /// This is equivilant to setting the RGB value to `(153, 170, 181)`.
fn default() -> Colour {
Colour {
- value: 0,
+ value: 0x99AAB5,
}
}
}