CraftBot
CraftBot copied to clipboard
[improvement/integration-action-expansion] Discord integration is calling "Get discord messages" too often
What happened: CraftBot may be calling "Get discord messages" too often, wasting tokens and time
What I expected: Regarding the second issue, CraftBot often has to call "Get discord messages" multiple times in order to retrieve the context / messages the user is referring to.
Steps to reproduce:
- Open CraftBot and connect to Discord integration
- Ask CraftBot to make an action on a previous message (edit, reply delete) and check CraftBot's tasks & actions
Environment: (browser, OS, server, version/commit) Browser: Microsoft Edge OS: Windows 11 Branch: improvement/integration-action-expansion (PR https://github.com/CraftOS-dev/CraftBot/pull/271)
Logs / screenshots: