Hacker News new | ask | show | jobs
by xena 942 days ago
Yes, that's why I want to disable comments.
3 comments

I don't believe there is a way to lock it. But if you really want to clear the comments, you can use the API to recurse and delete all the comments--this is a quick Nodejs snip from Bing Chat with Octokit: https://gist.github.com/extremeheat/1042a8a933f0987b265a70d4...
That's looping, not recursion. Just FYI.
I just deleted it. I'll figure out what to do with all of the emails about all of the comments later. Probably something fun with sentiment analysis and large language models.
You can't for GitHub Gists :(.