Initial commit

This commit is contained in:
파링 2026-01-05 22:54:32 +09:00
commit 8c6f7d4379
Signed by: paring
SSH key fingerprint: SHA256:8uCHhCpn/gVOLEaTolmbub9kfM6XBxWkIWmHxUZoWWk
21 changed files with 4184 additions and 0 deletions

View file

@ -0,0 +1,22 @@
use std::collections::HashMap;
fn main() {
tracing_subscriber::fmt::init();
let mut map = HashMap::new();
map.insert("".into(), 2);
let result = paringboard::script::check(
r#"
if reactions[""] >= 3 {
#{ channel: "YAHO", reactions: [""] }
} else {
()
}
"#,
map,
"123123123".into(),
);
dbg!(result);
}