diff options
| author | mat <git@matdoes.dev> | 2025-08-12 11:00:11 -1000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-08-12 11:00:11 -1000 |
| commit | 7f4e3c583dd669561e8502822952fc9afe26e005 (patch) | |
| tree | 831fbcb717493858c31ad58796e01494da276d76 /azalea/README.md | |
| parent | c36c3c0ed02b3727ba61b45a6a7febf1a008a7dc (diff) | |
| download | azalea-drasl-7f4e3c583dd669561e8502822952fc9afe26e005.tar.xz | |
add nearest_entity_by and improve some docs
Diffstat (limited to 'azalea/README.md')
| -rw-r--r-- | azalea/README.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/azalea/README.md b/azalea/README.md index 4f7506d1..3454ed2e 100644 --- a/azalea/README.md +++ b/azalea/README.md @@ -32,10 +32,6 @@ opt-level = 3 The documentation for the latest Azalea crates.io release is available at [docs.rs/azalea](https://docs.rs/azalea/latest/azalea/) and the docs for the latest bleeding-edge (git) version are at [azalea.matdoes.dev](https://azalea.matdoes.dev/azalea/). -Note that the `azalea` crate is technically just a wrapper over [`azalea_client`] that adds some extra functions. -Because of this, some of the documentation will refer to `azalea_client`. -You can just replace these with `azalea` in your code since everything from `azalea_client` is re-exported in azalea. - # Examples ```rust,no_run @@ -76,6 +72,9 @@ async fn handle(bot: Client, event: Event, state: State) -> anyhow::Result<()> { } ``` +There are more examples in the [examples directory](https://github.com/azalea-rs/azalea/tree/main/azalea/examples). +You may also find it helpful to read the code for [other people's Azalea bots](https://github.com/azalea-rs/azalea#real-world-bots-using-azalea). + # Swarms Azalea lets you create "swarms", which are a group of bots in the same world that can perform actions together. See [testbot](https://github.com/azalea-rs/azalea/blob/main/azalea/examples/testbot/main.rs) for an example. Also, if you're using swarms, you should also `use` both `azalea::prelude::*` and `azalea::swarm::prelude::*`. |
