From b03d2942e1bef98e13acadde5cbb8856a3f8c74d Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 19 Mar 2026 04:12:20 -0100 Subject: implement speed effect --- azalea/examples/testbot/commands.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea/examples/testbot/commands.rs') diff --git a/azalea/examples/testbot/commands.rs b/azalea/examples/testbot/commands.rs index 930f41ca..4c0e7235 100644 --- a/azalea/examples/testbot/commands.rs +++ b/azalea/examples/testbot/commands.rs @@ -23,8 +23,9 @@ impl CommandSource { pub fn reply(&self, message: impl Into) { let message = message.into(); if self.chat.is_whisper() { + // /msg instead of /w for compat with custom servers self.bot - .chat(format!("/w {} {message}", self.chat.sender().unwrap())); + .chat(format!("/msg {} {message}", self.chat.sender().unwrap())); } else { self.bot.chat(message); } -- cgit v1.2.3