add examples to README

This commit is contained in:
Dan Ballard 2022-05-07 17:16:11 -07:00
parent 4327bfe839
commit 7c92039140
1 changed files with 7 additions and 1 deletions

View File

@ -14,4 +14,10 @@ Start with creating a `Behaviour` struct and populating it with your desired set
Define a struct fulfilling the `imp::EventHandler` trait with all your custom event handling code.
Finally, run the imp `my_imp.event_loop(Box::new(custom_event_handler));`
Finally, run the imp `my_imp.event_loop(Box::new(custom_event_handler));`
## Examples
- Private [rust-bert](https://github.com/guillaume-be/rust-bert) chat bot - [rust-bert-bot](https://git.openprivacy.ca/dan/rust-bert-bot)
- Public utility bot - [Cwtch Update Bot](https://git.openprivacy.ca/dan/update_bot/)