When a user wants to update a single button from the current Rich Presence they can do the following:
Example: You have 2 buttons. The first one is a link to your website and the second one is a link to your Discord server. You want to update the second one with an up-to-date invite link you can do the following code:
This pull request will allow users to update and remove their buttons without having to restart the program.
You can use this code in the following way:
Updating all the buttons
When a user wants to update all their buttons from the current Rich Presence they can do the following:
Updating a single button
When a user wants to update a single button from the current Rich Presence they can do the following:
Example: You have 2 buttons. The first one is a link to your website and the second one is a link to your Discord server. You want to update the second one with an up-to-date invite link you can do the following code:
Removing buttons
When a user want to remove their buttons from the current Rich Presence they can do the following:
If there are any follow up questions or things I might have missed let me know and I will look into it asap!