From f01579f70b4acc045559c1aca82d8d39a1f79f12 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 12 Aug 2025 16:02:42 -0630 Subject: Client::chat now takes Into and doc fixes --- azalea/examples/testbot/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea/examples/testbot') 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); } } -- cgit v1.2.3