Last active
February 2, 2020 13:38
-
-
Save jb3/97dc1367bddb3250387dba464b191485 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pypresence import Presence | |
import time | |
client_id = "503540314506657792" | |
rpc = Presence(client_id) | |
rpc.connect() | |
data = { | |
"large_image": "smiley", | |
"large_text": "Hello yes", | |
"small_text": "darud sadnstorms", | |
"details": "smoooooooth tunes are playing", | |
"state": "playing" | |
} | |
while True: | |
rpc.update(**data) | |
time.sleep(15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment