Skip to content

Commit

Permalink
Remove deprecated use of Colour associated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyla Hellyer committed Jul 8, 2018
1 parent 9e45642 commit 530ea76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/framework/standard/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ impl Default for HelpOptions {
lacking_role: HelpBehaviour::Strike,
lacking_permissions: HelpBehaviour::Strike,
wrong_channel: HelpBehaviour::Strike,
embed_error_colour: Colour::dark_red(),
embed_success_colour: Colour::rosewater(),
embed_error_colour: Colour::DARK_RED,
embed_success_colour: Colour::ROSEWATER,
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_formatters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn test_mention() {
};
let role = Role {
id: RoleId(2),
colour: Colour::rosewater(),
colour: Colour::ROSEWATER,
hoist: false,
managed: false,
mentionable: false,
Expand Down

0 comments on commit 530ea76

Please sign in to comment.