Passing metadata from bot OAuth2 Invite link?

I'm wanting to pass a variable from an oauth2 invite link and then read it when the bot is added to the server. I'm not finding anything besides somehow passing 'state' in the URL -- but I'm not able to read it on the 'guild' object when I add it to the server. Any ideas?

Thanks.
Was this page helpful?