diff options
| author | mat <git@matdoes.dev> | 2025-08-12 16:02:42 -0630 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-08-12 16:02:42 -0630 |
| commit | f01579f70b4acc045559c1aca82d8d39a1f79f12 (patch) | |
| tree | 327e52737e4c7254b971bfb1d03db64bebdd120a /azalea/examples/testbot | |
| parent | 7f4e3c583dd669561e8502822952fc9afe26e005 (diff) | |
| download | azalea-drasl-f01579f70b4acc045559c1aca82d8d39a1f79f12.tar.xz | |
Client::chat now takes Into<String> and doc fixes
Diffstat (limited to 'azalea/examples/testbot')
| -rw-r--r-- | azalea/examples/testbot/commands.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/examples/testbot/commands.rs b/azalea/examples/testbot/commands.rs index 7486780e..1616b82e 100644 --- a/azalea/examples/testbot/commands.rs +++ b/azalea/examples/testbot/commands.rs @@ -23,9 +23,9 @@ impl CommandSource { let message = message.into(); if self.chat.is_whisper() { self.bot - .chat(&format!("/w {} {message}", self.chat.sender().unwrap())); + .chat(format!("/w {} {message}", self.chat.sender().unwrap())); } else { - self.bot.chat(&message); + self.bot.chat(message); } } |
