It just needs to export to html every 24 hours and dump that on a server; then it's indexed by DDG and Google etc. It's not like that costs money or anything.
Good idea, and I suppose people wouldn't have a problem throwing yet another bot into their server. I'd imagine the data it's scraping to be IMMENSE considering Discord saves everything.
We used to do this for IRC as well. Anyone remembers https://ibot.rikers.org/?