feat(Discord): add rich presence support
initial effort on getting rich presence working. I haven't been able to make the share link show up. I'll also need a Discord bot id to plug in to use as default as well as a few images #https://github.com/sst/opencode/issues/406
Some notes here:
this is using @xhayper/discord-rpc rather than the discordjs/rpc library, as I could not get the later to connect. I was mostly interested in prototyping it out to see if it would work, this would probably require a custom rpc implementation, other than just drop in a library
Unfortunately, using join secrets require a launch command and setting the share url only works for YouTube and Twitch urls.
hey @enchantednatures curious, where is this at?
hey @enchantednatures curious, where is this at?
I should have some time this week to update it.
Unfortunately, I could not get the /share command to create a join link which was the feature I was most excited for. However, I was able to get it to show the model in use and how long the opencode session had been running.
Hey!
What's the progress with this PR? Would love to use it.
Edit: Yeah the age of the PR created a few conflicts :/
any updates on this?