-use clap::StructOpt;
+use clap::Parser;
use jsonrpc_client_transports::{RpcError, TypedSubscriptionStream};
use jsonrpc_core::{futures_util::StreamExt, Value};
use std::{path::PathBuf, time::Duration};
quote_message,
quote_mention,
sticker,
+ story_timestamp,
+ story_author,
} => {
client
.send(
quote_message,
quote_mention,
sticker,
+ story_timestamp,
+ story_author,
)
.await
}
target_author,
target_timestamp,
remove,
+ story,
} => {
client
.send_reaction(
target_author,
target_timestamp,
remove,
+ story,
)
.await
}