discord-rich-presence-plex/test.py

17 lines
342 B
Python
Raw Normal View History

2023-10-01 13:41:42 +00:00
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)