vionya / discord-rich-presence

A cross-platform Discord Rich Presence library written in Rust
MIT License
94 stars 20 forks source link

Added `clear_activity` method #13 and fixed `connected` bool not working #14 #18

Closed Toldoven closed 2 years ago

vionya commented 2 years ago

Could the changes to connected also cover cases such as when the pipe has been broken and other related errors? I'd like it to fully and accurately reflect whether the client is connected (rather than just when it should be connected).

Toldoven commented 2 years ago

Sorry for not answering earlier. I'm not sure how and when to check if the pipe has been broken and what do you mean by other related errors. So it's probably will be better if you will do that

vionya commented 2 years ago

Alright, I'll merge this into dev and workshop some improvements to connected before adding it to a release.

Thanks for the work you've done!