diff --git a/src/main.rs b/src/main.rs index c773b33..66df499 100755 --- a/src/main.rs +++ b/src/main.rs @@ -205,9 +205,9 @@ fn embed(ctx: &mut Context, message: &Message, args: Args) -> CommandResult { } e.color(Colour::new( - usize::from_str_radix(&input_embed.colour, 16) + u32::from_str_radix(&input_embed.colour, 16) .ok() - .unwrap_or(0x000000) as u32, + .unwrap_or(0x000000), )); // Set embed description unless empty if input_embed.description != None {