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

pub enum Colors {
	Blue,
	Orange,
}

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)),
		}
	}
}