Okay, so, I have a bot for discord that uses the patreon API to give bot related perks to users that are supporting me on patreon.
I’m using Java to develop this bot and I am using the Java Library for the API.
The Java Lib does not have support for refreshing the creator token which I need to do so every month I don’t have to go and refresh the token to allow my patrons to get access to their perks. right now I have a workaround that allows me to manually refresh the token but I would prefer to have it automatically update.
I Have attempted to write my own POST request to attempt to refresh the token but as I’m just using the access token to connect and not using OAuth to log in it appears that I can’t do this
Here is the code I have written to attempt to refresh the token to no avail.
If I could get some help figuring out what to do that would be great.