bye launcher

This commit is contained in:
🪞👃🪞 2024-07-03 18:11:40 +03:00
parent 7bc396e748
commit 2165e5d45d
10 changed files with 451 additions and 862 deletions

View file

@ -127,3 +127,12 @@ impl Phrase {
}
}
#[macro_export] macro_rules! phrase {
($($t:expr => $msg:expr),* $(,)?) => {{
let mut phrase = BTreeMap::new();
$(phrase.insert($t, vec![]);)*
$(phrase.get_mut(&$t).unwrap().push($msg);)*
phrase
}}
}