cromachina
cromachina
Fanbox's API provides a whole list of currently subscribed users. This list can be checked every day, and if a user is simply not subscribed, access can be removed. This...
I've just written the code to do this. Testing it now and I'll probably push the additions soon.
Added in 07220f0. You'll have to add a new parameter to your config (check the config template). Please give it a try.
If you unsubscribe immediately on Fanbox, then you lose access on Fanbox immediately, I'm fairly certain 🤔. Anyway I can change it to check if `hasSupportTransactionThisMonth` is true (from the...
Actually it's a little more complicated to change. May take a little bit more time.
Thinking about it more, I've been avoiding trying to implement it this way because it would end up causing excessive calls to the Fanbox API, because I would have to...
Okay I see now, I think your idea might work fine. If you can post a diff instead of the whole code (or fork this repository and make a pull...
Also it's important to note that `get_fanbox_user_data` will grab cached data stored in the database, instead of grabbing the latest user data. It only grabs the latest when a user...
Alright, I've integrated your PR in at 0e2ec04 and did some local tests to verify its behavior. The behavior is as you had implemented it, except for some minor cleanup...
Okay, we can do that, after the logic determines that there are no transactions in this month, then do one more final check with the fresh data to see if...