Getting /mods list via API

Under the context of a chatbot:

A chatbot can request IRC tags, which provide information about if the user is a mod or not.

As documented here:

Under “PRIVMSG (Twitch Tags)” as the tag “mod” or the tag “user-type” of value mod