Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] client.ClearPresence(); dont work #229

Open
UrbanSide opened this issue Feb 19, 2023 · 4 comments
Open

[BUG] client.ClearPresence(); dont work #229

UrbanSide opened this issue Feb 19, 2023 · 4 comments
Labels
invalid This doesn't seem right question Further information is requested

Comments

@UrbanSide
Copy link

Describe the bug
A clear and concise description of what the bug is.
This code dont work,activity continues to hang for about a minute

                client.SetPresence(null);
                client.ClearPresence();
@UrbanSide UrbanSide added the bug Something isn't working label Feb 19, 2023
@RegorForgot
Copy link
Contributor

I am also having the same issue

@UrbanSide
Copy link
Author

I am also having the same issue

Forget it, the ticket has been open for almost a year now. Look for another library.

@Lachee
Copy link
Owner

Lachee commented Dec 8, 2023

wow rude, dont tell people to use other libraries within the help of this one.

Your issue is invalid anyways, please follow the issue templates next time. Dont know the bug, or what you are expecting.
"This code dont work" is not very descriptive. I am unable to reproduce this issue, so any help you can provide is more than welcomed.

I will help however, to get this finally ticked away.

  • Starters, doing both SetPresence and ClearPresence here is redundant, as they both set it to null.
  • ClearPresence works on my end, please provide code to replicate your issue.
  • Ensure you are not later setting the presence elsewhere.
  • Enable the logs and share them here so i can validate the code is actually sending the clear

@Lachee Lachee added question Further information is requested invalid This doesn't seem right and removed bug Something isn't working labels Dec 8, 2023
@RegorForgot
Copy link
Contributor

I am unable to reproduce this issue, so any help you can provide is more than welcomed.

Hi, sorry as I just saw these comments now 10 months later. If it is worth anything, I had kept using this library since I think it is quite a good one. The way that this bug had occured is the following:

  1. Load a rich presence using this package
  2. Start another rich presence (for example Spotify)
  3. Deactivate the rich presence from this package
  4. Deactivate the other rich rpesence
  5. The rich presence from this package will "ghost" and keep staying on.

It's an edge case, definitely but some use cases, such as mine, had it more often.

In any case, I had also found that this wasn't even local to the rich presences from this package only! Even other rich presences, during the time, had ghosting issues. I think since the time that Discord had updated their rich presences, this issue has mostly subsided and I haven't noticed it happening with any presence (including attempting to force it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants