Skip to content

Instantly share code, notes, and snippets.

@lucascompython
Last active April 3, 2022 12:26
Show Gist options
  • Save lucascompython/690899b37b8da4f6348c60bb6699160d to your computer and use it in GitHub Desktop.
Save lucascompython/690899b37b8da4f6348c60bb6699160d to your computer and use it in GitHub Desktop.
This is discord RPC (Rich Presence) that shows the world a pornhub activity
from pypresence import Presence
import time
client_id = "APP CLIENT"
RPC = Presence(client_id)
RPC.connect()
#https://www.youtube.com/watch?v=dQw4w9WgXcQ
print(RPC.update(state="Your mom's sextape (Milf)",details="Watching a video",large_text="Pornhub Premium",large_image="copia",buttons=[{"label" : "Video I'm watching", "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],start=time.time()))
while True:
time.sleep(15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment