Comments (3)
Alright, gotcha. Thanks for clarifying.
I'll see if I can confirm if it's a lib or Discord issue, and fix appropriately soon.
from discord-rich-presence.
Silently fail as in, other data in the set_activity
payload is also ignored, or the buttons data is ignored? An Activity::buttons
with an empty Vec
should be serialized properly - and if it's failing in that scenario, it seems like it'd be a Discord problem.
from discord-rich-presence.
Silently fail as in, other data in the
set_activity
payload is also ignored, or the buttons data is ignored? AnActivity::buttons
with an emptyVec
should be serialized properly - and if it's failing in that scenario, it seems like it'd be a Discord problem.
By failing silently I mean the rich presence status doesn't get updated -- any part of it, not just the buttons. It's like the call to set_activity
never happens.
I can believe it's a bug in the discord implementation but it might be worth noting in the docs at least, and perhaps even just handling it gracefully in this library (by not including the buttons data in the serialization if the vector is empty).
from discord-rich-presence.
Related Issues (20)
- No rich presence HOT 8
- [Help] Clearing Activity HOT 4
- Is it possible to check if the client is connected? HOT 1
- I've implemented some features that might be helpful HOT 4
- Button click does not seem to work HOT 3
- Useless lifetimes HOT 5
- Client connects but not showing presence HOT 2
- Generic IPC use case
- Changes to `Activity` design HOT 4
- Couldn't connect to the Discord IPC socket on Ubuntu 22.04 HOT 4
- error[E0433]: unresolved import `ipc` HOT 4
- Error when compiling to WASI HOT 1
- Add support for Snap and Flatpak installs HOT 2
- set_activity does not update the presence if the calling thread go to sleep immediately after calling set_activity HOT 1
- Rich presence automatically disappears after a minute HOT 3
- Button Links not working on MacOS HOT 3
- What is this error? HOT 7
- `DiscordIpcClient` doesn't implement `Debug` HOT 1
- Unhandleable SIGPIPE when sending activity to closed client HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-rich-presence.