Add message slash commands (#317)

This commit is contained in:
Ulyssa
2024-08-07 22:49:54 -07:00
committed by GitHub
parent 653287478e
commit 04480eda1b
7 changed files with 352 additions and 101 deletions

View File

@@ -228,7 +228,9 @@ pub fn event_notification_body(
MessageType::VerificationRequest(_) => {
format!("{sender_name} sent a verification request.")
},
_ => unimplemented!(),
_ => {
format!("[Unknown message type: {:?}]", &message.msgtype)
},
};
Some(body)
},