Closed robhudson closed 11 years ago
So now that you log the DJ numbers etc upon entering the room, I don't think check_dj
even still needs to issue a separate roominfo request? In the interest of limiting API traffic, we might just want to keep accurate stats (as I think we already are) and then work off our own numbers rather than kicking off another request every time.
What do you think?
Let me re-iterate what I think you're saying...
We can adapt the room info call that is in check_dj to only be called after the ready
event, and from then on, do our own tracking of djcount and not need to make an extra API call. I.e. add_dj and rem_dj could increment and decrement the initial value we determined on ready
.
If so, yeah, I agree. I like that.
Yes, you're saying it much better than me :)
Now, I thought that the relevant code was affected by this, but it seems not. I'll file an issue for it then!
Ship it!
:ship: it!
I'm happy to do the djcount clean up and then look at that auto-bop algorithm unless you were intending to.
You seem to be having a blast, go right for it :) I'll look at the update command then!