I would like to stop flagging when I start running low on flags. Is there any way the API can tell me not only the flag options, but also whether I have any flags left and if so how many?
1 Answer
It's hard to prove a negative, but there's no way to get the number of flags remaining for your account via the API. The API will simply not allow you to flag anything if you're out of flags (or flag-banned).
The only feasible option is to allocate a certain number of flags per day to your bot, but you have to keep track of that yourself.
-
1FYI I was told by a moderator not to use a separate account.– DharmanCommented Jun 1, 2020 at 13:16
-
I'm looking for something similar and come across this question. I've also got friendly advice from moderator not to use a separate account.– 4b0Commented Jun 12, 2021 at 11:54
-
Yeah, Smoke Detector is probably a bad example for this. My apologies for the suggestion.– Glorfindel ♦Commented Jun 12, 2021 at 12:29