moderate: show kind

This commit is contained in:
Mike Dilger 2024-04-09 07:39:01 +12:00
parent c420335188
commit dd8e345e86

View File

@ -91,13 +91,13 @@ fn main() -> Result<(), Error> {
}
println!("---------------------------------------------------------------");
println!("id={} pubkey={}", event.id(), event.pubkey());
println!("kind={} id={}", event.kind(), event.id());
println!("{}", String::from_utf8_lossy(event.content()));
println!("---------------------------------------------------------------");
println!(">> Pubkey: (p) approve, (P) ban and delete");
println!(">> Id: (i) approve, (I) ban and delete");
println!(">> other: (s) skip, (q) quit");
println!(" Pubkey: (p) approve, (P) ban and delete");
println!(" Id: (i) approve, (I) ban and delete");
println!(" other: (s) skip, (q) quit");
loop {
print!(">> ");