feat(discord): add replyToMessage parity with Telegram (#5800)

* feat(discord): add configurable native replies

* fix(discord): tolerate deleted reply targets
This commit is contained in:
ZedingZhang authored and GitHub committed 2026-09-18 15:13:31 +08:00
1 parent 4420ad58e1
commit ea9d13cbeb
15 files changed
+249 -28

No files matched your search

+5 -1
View File
@@ -49,7 +49,8 @@ Merge this snippet into `~/.nanobot/config.json`:
"token": "YOUR_BOT_TOKEN",
"allowChannels": [],
"groupPolicy": "mention",
"streaming": true
"streaming": true,
"replyToMessage": false
}
}
}
@@ -60,6 +61,9 @@ first, get a pairing code, and be approved before using the bot in servers.
Invite the bot with permissions to read history and send messages.
Set `replyToMessage` to `true` to make responses use Discord's native reply UI.
It defaults to `false`, preserving the existing behavior.
## Run nanobot gateway
```bash