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.
-
1
-
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.– 4b0Jun 12, 2021 at 11:54
-
Yeah, Smoke Detector is probably a bad example for this. My apologies for the suggestion.– Glorfindel ♦Jun 12, 2021 at 12:29