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.

Script running, but nothing is happening on discord

See original GitHub issue

Here is my code:

from pypresence import Presence
import time

client_id = "797509614736113674"
RPC = Presence(client_id)
RPC.connect()

RPC.update(state="Hello world!")

while True:
    time.sleep(15)

I know I’m probably doing something wrong, but I’ve looked through the docs, the internet, and whatever else, but I couldn’t find anything, so I have to resort to opening an issue here. If you need anything, ask me in the comments, and I’ll try to respond.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Hum4n01dcommented, Jan 15, 2021

Actually, just found the issue (at least for me). Check if you have game activity disabled, if you do, it won’t show image

0reactions
WindowsVistaisCoolcommented, Jan 25, 2021

Alright, I’ll close this issue and ask on the discord.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trying to launch the bot but nothing happens discord.js
So I tried to start with npm start my discord.js bot today, I already have set up the npm start script and nothing...
Read more >
Nothing happens after "import discord" · Issue #295 - GitHub
No error, the problem is there. The script expects "import discord" and never comes to print toto. All reactions.
Read more >
How To Fix Discord Java Script Error On Start Up - YouTube
7. Type ''%localappdata%'' in the field and hit '' Run ''. 8. Find the '' Discord '' folder and delete as above by...
Read more >
Powershell scripting Discord give an error - Microsoft Q&A
Powershell scripting Discord give an error. So the matter is simple, i have design (raw) a ps script to start a few apps...
Read more >
Bot not going offline when disconnecting - Discord Support
I'm developing it in Python, using the "discord.py" library. Its developer swears that connection is being closed properly, but the bot ...
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