While the docs don't mention it, the fact that JDA::getTextChannelById goes via the GuildCache implies that it would be possible for it to return null for a channel which we do have access to. Regardless, it's possible that this enhancement would allow us to disable the GuildCache completely and save memory
For example https://discordapp.com/developers/docs/resources/channel#delete-message All the data needed to attempt to delete a message is contained in the database (except the volatile condition of whether the bot still has access to the channel)
While the docs don't mention it, the fact that JDA::getTextChannelById goes via the GuildCache implies that it would be possible for it to return null for a channel which we do have access to. Regardless, it's possible that this enhancement would allow us to disable the GuildCache completely and save memory