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 #271)
Logs / screenshots:

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:
Environment: (browser, OS, server, version/commit)
Browser: Microsoft Edge
OS: Windows 11
Branch: improvement/integration-action-expansion (PR #271)
Logs / screenshots: