[BUG] UpdateState not working
See original GitHub issueDescribe the bug
UpdateState does not update the state on discord.
DiscordRpcClient m_client = new DiscordRpcClient({appid}, -1);
m_client.Initialize();
RichPresence rp = new RichPresence();
rp.Timestamps = new Timestamps(DateTime.UtcNow);
rp.State = "...";
rp.Details = "...";
rp.Assets = new Assets() { LargeImageKey = "...", LargeImageText = "..." };
m_client.SetPresence(rp);
when I then call m_client.UpdateState("test");
the CurrentPresence
property updates but it doesn’t update on discord.
Desktop (please complete the following information):
- OS: Windows 10 2004
- Framework: .NET
- Version: 4.7.2
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
React setState not updating state - javascript
My problem was that setState was happening from callback func, issued by one of the components. And my suspicious is that the call...
Read more >[BUG] Update State Not Working · Issue #142
Describe the bug When trying to call 'qb-doorlock:server:updateState', the door state does not update. Please see attached images.
Read more >Why React doesn't update state immediately
State updates in React are asynchronous; when an update is requested, there is no guarantee that the updates will be made immediately.
Read more >(React) setState not updating - JavaScript
Hi friends, setState is not updating values in the state for some reason when I pause the timer although it's receiving correct parameters....
Read more >React state not updating immediately?
It might seems like the state update isn't updating or lagging behind. ... In most cases this solution is enough to solve your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A quick fix would be nice, otherwise this library has no use.
Of course not, it’s just a summary of what I have. The client is in a static class with methods using it. The program is running. I can show console output later, I’m currently on the way to school