feat: reintroduce tag command

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth 2023-12-04 05:11:54 -05:00
parent a8eb4a212a
commit 30cc4a6220
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86
12 changed files with 256 additions and 10 deletions

View file

@ -1,14 +1,15 @@
use std::collections::HashMap;
use once_cell::sync::Lazy;
use poise::serenity_prelude::Color;
pub static COLORS: Lazy<HashMap<&str, (u8, u8, u8)>> = Lazy::new(|| {
pub static COLORS: Lazy<HashMap<&str, Color>> = Lazy::new(|| {
HashMap::from([
("red", (239, 68, 68)),
("green", (34, 197, 94)),
("blue", (96, 165, 250)),
("yellow", (253, 224, 71)),
("orange", (251, 146, 60)),
("red", Color::from((239, 68, 68))),
("green", Color::from((34, 197, 94))),
("blue", Color::from((96, 165, 250))),
("yellow", Color::from((253, 224, 71))),
("orange", Color::from((251, 146, 60))),
])
});