diff options
| author | mat <git@matdoes.dev> | 2025-04-04 16:05:06 -0430 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-04-04 16:05:06 -0430 |
| commit | 5fd57fd630bea256639332f117848d6f1fcfd132 (patch) | |
| tree | 83e21595e69e24b3b1e8790dc630b79cf14a1777 /azalea/examples/testbot/killaura.rs | |
| parent | e99ae608b67ad3ff105666e619d04ca9385488e1 (diff) | |
| download | azalea-drasl-5fd57fd630bea256639332f117848d6f1fcfd132.tar.xz | |
don't require mut for functions in Client and add some more convenience functions
Diffstat (limited to 'azalea/examples/testbot/killaura.rs')
| -rw-r--r-- | azalea/examples/testbot/killaura.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/testbot/killaura.rs b/azalea/examples/testbot/killaura.rs index e98fe6ec..b47ac0df 100644 --- a/azalea/examples/testbot/killaura.rs +++ b/azalea/examples/testbot/killaura.rs @@ -7,7 +7,7 @@ use azalea::{ use crate::State; -pub fn tick(mut bot: Client, state: State) -> anyhow::Result<()> { +pub fn tick(bot: Client, state: State) -> anyhow::Result<()> { if !state.killaura { return Ok(()); } |
