From a131443cf2a6afdcf8d842cb099c1e8efed12fcb Mon Sep 17 00:00:00 2001 From: sxyazi Date: Tue, 2 Apr 2024 21:05:23 +0800 Subject: [PATCH] docs: fix a typo in dds --- docs/dds.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/dds.md b/docs/dds.md index 1c261680..e477e4dc 100644 --- a/docs/dds.md +++ b/docs/dds.md @@ -52,7 +52,7 @@ One payload per line, each payload contains the following fields separated by co | Field | Description | | -------- | --------------------------------------------------------------------------------------------------------------- | | kind | The kind of this message | -| receiver | The instance ID that receives this message, if it's `0`, means broadcasting to all instances | +| receiver | The instance ID that receives this message; if it's `0`, broadcasts to all instances | | severity | The severity of this message; if it's non-zero, indicates a [static message](/docs/plugins/utils#ps.pub_static) | | sender | The sender ID of this message | | body | The body of this message, which is a JSON string | @@ -166,9 +166,7 @@ TODO `sub()` callback body: ```lua -{ - cut = false, -} +{} ``` `sub_remote()` callback body: