hello_bot accepts a list of room JIDs to join to say hello
This commit is contained in:
parent
fdec34afde
commit
8c3c8c7c97
2 changed files with 37 additions and 3 deletions
|
|
@ -181,6 +181,11 @@ impl<'a> RoomMessageSettings<'a> {
|
|||
lang: None,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn with_lang(mut self, lang: &'a str) -> Self {
|
||||
self.lang = Some(lang);
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
pub async fn send_room_message<'a, C: ServerConnector>(
|
||||
|
|
|
|||
Loading…
Reference in a new issue