How to protect myself from bots crawling my Discourse instance?

If you set your login_required setting to true, bots will not be able to crawl your forum.