mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-29 03:08:31 +00:00
Signed-off-by: Jason Volk <jason@zemos.net> Signed-off-by: strawberry <strawberry@puppygock.gay>
14 lines
411 B
Rust
14 lines
411 B
Rust
use ruma::events::room::message::RoomMessageEventContent;
|
|
|
|
use crate::Result;
|
|
|
|
#[cfg_attr(test, derive(Debug))]
|
|
#[derive(clap::Subcommand)]
|
|
pub(crate) enum TesterCommands {
|
|
Tester,
|
|
}
|
|
pub(crate) async fn process(command: TesterCommands, _body: Vec<&str>) -> Result<RoomMessageEventContent> {
|
|
Ok(match command {
|
|
TesterCommands::Tester => RoomMessageEventContent::notice_plain(String::from("complete")),
|
|
})
|
|
}
|