summaryrefslogtreecommitdiff
path: root/src/colors.rs
blob: 2a3f4020a6dbaeb2247e583feda22b532632df8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use poise::serenity_prelude::Colour;

pub enum Colors {
	Blue,
	Orange,
	Red,
}

impl From<Colors> for Colour {
	fn from(val: Colors) -> Self {
		match val {
			Colors::Blue => Colour::from((136, 199, 253)),
			Colors::Orange => Colour::from((255, 179, 74)),
			Colors::Red => Colour::from((255, 94, 74)),
		}
	}
}