Skip to content

Commit

Permalink
Added rpc-debug.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Senophyx committed Mar 12, 2024
1 parent 3582e63 commit 373c78b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions examples/rpc-debug.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
### Basically it's "print-rpc-output.py" but with more informative output :)

import discordrpc

# Add debug=True to get more outputs
# Default = False
rpc = discordrpc.RPC(app_id=123456789, debug=True)

rpc.set_activity(
state="A super simple rpc",
details="simple RPC"
)


rpc.run()

0 comments on commit 373c78b

Please sign in to comment.