After enabling the "user install" option for my bot, I occasionally receive the following error when my bot attempts to edit a message (specifically, this happens with messages that have components. The message has an interaction collector which, upon ending, edits the message and replaces its components with disabled versions to prevent any further user interactions):
Error [ChannelNotCached]: Could not find the channel where this message came from in the cache!at Message.edit ... node_modules\discord.js\src\structures\Message.js:858:30)
Error [ChannelNotCached]: Could not find the channel where this message came from in the cache!at Message.edit ... node_modules\discord.js\src\structures\Message.js:858:30)
I am guessing that this only happens with DMs, since the issue only appeared after turning on user-install for the app.
Has anyone else seen this issue before, or have any troubleshooting recommendations?