Cynically speaking, platforms like Discord are not interested in their content being widely searchable. If a,user can satisfy their need for information by reading an existing answer (even within Discord), that user
needs Discord less. The user depends less on there being an active community in Discord members of which could provide answers.
This all likely means fewer paying subscribers.
So, Discord search should be fine for a few months depth, and need not be good further into the past. Exposing historical data to external search engines is even less desirable.
Same of course applies to Slack, HipChat and whatever other commercial chat-like software.