See url. While the "thank" link is not added for flagged bots, it's still possible to use the API to thank users in the bot group.
Version: unspecified
Severity: minor
URL: https://en.wikipedia.org/w/index.php?title=Special%3ALog&type=thanks&user=&page=User%3ALegobot&year=&month=-1&tagfilter=