What happened:
The Discord integration improvement is great and has expanded the amount of actions it can perform greatly, but there are two issues:
- CraftBot is unable to detect messages the user is replying to
- CraftBot may be calling "Get discord messages" too often, wasting tokens and time
What I expected:
CraftBot should be aware of the message the user is replying to and perform accordingly. For example, if I ask CraftBot to edit a message I am replying to, CraftBot should be aware of this. However, CraftBot is often unable to retrieve the message the user is replying to.
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 discord integration
- Reply to a message from CraftBot in discord asking to perform an action (edit, reply, delete)
Environment: (browser, OS, server, version/commit)
Browser: Microsoft Edge
OS: Windows 11
Branch: improvement/integration-action-expansion (PR #271)
Logs / screenshots:

What happened:
The Discord integration improvement is great and has expanded the amount of actions it can perform greatly, but there are two issues:
What I expected:
CraftBot should be aware of the message the user is replying to and perform accordingly. For example, if I ask CraftBot to edit a message I am replying to, CraftBot should be aware of this. However, CraftBot is often unable to retrieve the message the user is replying to.
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: