initial rewrite in rust & moderation commands
Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
b17e357b75
commit
45403e9d9b
53 changed files with 3297 additions and 2820 deletions
13
src/consts.rs
Normal file
13
src/consts.rs
Normal file
|
@ -0,0 +1,13 @@
|
|||
use std::collections::HashMap;
|
||||
|
||||
use once_cell::sync::Lazy;
|
||||
|
||||
pub static COLORS: Lazy<HashMap<&str, (u8, u8, u8)>> = Lazy::new(|| {
|
||||
HashMap::from([
|
||||
("red", (239, 68, 68)),
|
||||
("green", (34, 197, 94)),
|
||||
("blue", (96, 165, 250)),
|
||||
("yellow", (253, 224, 71)),
|
||||
("orange", (251, 146, 60)),
|
||||
])
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue