From 373c78b307e415e3d25d4fb0dd2b29422f6496e7 Mon Sep 17 00:00:00 2001 From: senophyx Date: Wed, 13 Mar 2024 00:24:37 +0700 Subject: [PATCH] Added `rpc-debug.py` --- examples/rpc-debug.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/rpc-debug.py diff --git a/examples/rpc-debug.py b/examples/rpc-debug.py new file mode 100644 index 0000000..f607ef1 --- /dev/null +++ b/examples/rpc-debug.py @@ -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() \ No newline at end of file