Dev 140320221219
Moved logic to multiple files, changed file system
This commit is contained in:
13
resources/lib/rpc.py
Normal file
13
resources/lib/rpc.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from pypresence import Presence
|
||||
from resources.lib.config import config
|
||||
import time
|
||||
|
||||
|
||||
rpc = Presence("896669007342633000")
|
||||
try:
|
||||
rpc.connect()
|
||||
if config['showrpc']:
|
||||
rpc.update(details="Just started app", state="Nothing is beeing listened...", large_image="multimate",
|
||||
start=int(time.time()))
|
||||
except:
|
||||
pass
|
||||
Reference in New Issue
Block a user