4

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 1

1

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.

3
  • 1
    FYI I was told by a moderator not to use a separate account.
    – Dharman
    Commented 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.
    – 4b0
    Commented 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .