Reverter edições em massa (desfazer edições em massa)

Olá,

Temos um bot que faz edições no fórum. Às vezes, ele realiza muitas edições ruins; gostaríamos de reverter todas elas, depurar o bot e, em seguida, reiniciá-lo.

É possível reverter edições em massa feitas por esse usuário?

What kind of bot is this, and who wrote it? You?

Yes, I wrote the bot.
It’s a bot that does formating edits on posts by API.

That sounds like a good feature to add to your bot!

The best way to debug is to take a backup before the bot runs and restore the backup of it misbehaved. Failing that, you’ll need to find a way to select to posts that need reverting and then revert them.

Is there any way to revert them by API?

Yes! See How to reverse engineer the Discourse API