I mean, you can add their user agent to the robots file but the crawler could just change their user agent or even ignore the robots file if the server isn't filtering requests by user agent
Is there some way you could have your web server log who scrapes the site? If you disallow ChatGPT and still find that it has scraped your site would you have cause to sue? @legaleagle (or anyone else too)