diff options
| author | mat <git@matdoes.dev> | 2024-01-08 00:15:05 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-01-08 00:15:05 -0600 |
| commit | 42f49c58edc0782622e15d738b90db771e44a142 (patch) | |
| tree | a78f016af26ab3996e9895350d547ed4105bf911 | |
| parent | cfbfdd77b4a400ef3bace378ff413aa2ff3bf57c (diff) | |
| download | azalea-drasl-42f49c58edc0782622e15d738b90db771e44a142.tar.xz | |
update links to testbot in docs
| -rwxr-xr-x | azalea/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/README.md b/azalea/README.md index f4095191..e7f52cd6 100755 --- a/azalea/README.md +++ b/azalea/README.md @@ -75,7 +75,7 @@ async fn handle(bot: Client, event: Event, state: State) -> anyhow::Result<()> { # 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.rs) for an example. Also, if you're using swarms, you should also `use` both `azalea::prelude::*` and `azalea::swarm::prelude::*`. +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::*`. # Plugins @@ -99,7 +99,7 @@ Note: If you get a `SetLoggerError`, it's because you have multiple loggers. Aza ## Deadlocks -If your code is simply hanging, it might be a deadlock. Copy the deadlock block in [`azalea/examples/testbot.rs`](https://github.com/azalea-rs/azalea/blob/main/azalea/examples/testbot.rs) to the beginning of your code and it'll print a long backtrace if a deadlock is detected. +If your code is simply hanging, it might be a deadlock. Copy the deadlock block in [`azalea/examples/testbot.rs`](https://github.com/azalea-rs/azalea/blob/main/azalea/examples/testbot/main.rs) to the beginning of your code and it'll print a long backtrace if a deadlock is detected. ## Backtraces |
