mirror of
https://github.com/phin05/discord-rich-presence-plex
synced 2024-11-24 18:43:02 +00:00
16 lines
342 B
Python
16 lines
342 B
Python
from services import DiscordRpcService
|
|
import time
|
|
|
|
discordRpcService = DiscordRpcService()
|
|
discordRpcService.connect()
|
|
discordRpcService.setActivity({
|
|
"details": "details",
|
|
"state": "state",
|
|
"assets": {
|
|
"large_text": "large_text",
|
|
"large_image": "logo",
|
|
"small_text": "small_text",
|
|
"small_image": "playing",
|
|
},
|
|
})
|
|
time.sleep(60)
|