guys, i don’t get why is this big drama or whatever it is regarding buttons, it is literally 2 lines of code you can add to an already existing rpc resource to get 2 buttons, so it is just one line, one native for one simple button.
if you don’t know how to add 2 lines of code you shouldn’t really be making a server anyway.
here are that 2 lines:
SetDiscordRichPresenceAction(0, "First Button!", "fivem://connect/localhost:30120")
SetDiscordRichPresenceAction(1, "Second Button!", "fivem://connect/localhost:30120")