question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknown Error when trying to connect to a bot without a user (Example)

See original GitHub issue

Electron works fine and the window appears, but the console is literally flooded by errors. Edit: And the Rich Presence doesn’t appear on the bot neither on the bot owner’s account. image I noticed that all ~15 Seconds a new UnhandledPromiseRejectionWarning appears in the console.

setInterval(() => { setActivity(); }, 15e3); });

That could be the error, since setActivity() is getting called every 15 Seconds. Node: v8.9.1 NPM: v5.5.1 Discord-RPC: 3.0.0-beta.2 PS: I didn’t change anything in the <RPC>.setActivity() Function.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
DriftTechcommented, Nov 18, 2017

@y21 Please add the electron as a game in Discord image

0reactions
y21commented, Nov 18, 2017

@DriftTech Thank you very much. That works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Errors - discord.js Guide
This error throws when the bot attempts to send a DM message to a user but cannot do so. A variety of reasons...
Read more >
Discord.py-Rewrite Sending an Error message when there is ...
I want to be able to send a message like await ctx.send("Error: Unknown command. ... error then i define it. But I'm not...
Read more >
Troubleshooting Azure Bot Service bots - Microsoft Learn
This error indicates that either the bot returned an error or the request timed out.
Read more >
Handling unknown exceptions - IBM
Unexpected user behavior while attended bot is running; Unexpected Graphical User Interface (GUI) changes to a system a bot automates; Internet connection ......
Read more >
Possible Trading Errors and how to resolve them
Occasionally, you may see an error when connecting an exchange or executing an ... configured in your bot are not met to begin...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found