diff options
| author | mat <git@matdoes.dev> | 2025-06-01 09:57:54 -1245 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-06-01 09:57:54 -1245 |
| commit | 1d3a7c969f430a8cea4296930df0d6c04e253747 (patch) | |
| tree | c30eeba985e577fe798b416d4282f9c561d9d537 /azalea-client/src/plugins | |
| parent | d028d7c3e9c84d177b7b10fa0d8f77d11bcea20f (diff) | |
| download | azalea-drasl-1d3a7c969f430a8cea4296930df0d6c04e253747.tar.xz | |
add Client::entities_by and improve some docs
Diffstat (limited to 'azalea-client/src/plugins')
| -rw-r--r-- | azalea-client/src/plugins/chat/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-client/src/plugins/chat/mod.rs b/azalea-client/src/plugins/chat/mod.rs index 7d42eb20..603dea60 100644 --- a/azalea-client/src/plugins/chat/mod.rs +++ b/azalea-client/src/plugins/chat/mod.rs @@ -124,9 +124,9 @@ impl ChatPacket { })) } - /// Whether this message was sent with /msg (or aliases). It works by - /// checking the translation key, so it won't work on servers that use their - /// own whisper system. + /// Whether this message is an incoming whisper message (i.e. someone else + /// dm'd the bot with /msg). It works by checking the translation key, so it + /// won't work on servers that use their own whisper system. pub fn is_whisper(&self) -> bool { match self.message() { FormattedText::Text(_) => false, |
