mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
Update discord_richpresence.py
This commit is contained in:
parent
9f82a400fd
commit
250bc1f84f
1 changed files with 5 additions and 5 deletions
|
|
@ -730,10 +730,10 @@ class DiscordRP(babase.Plugin):
|
||||||
if not ANDROID and self.rpc_thread.is_discord_running():
|
if not ANDROID and self.rpc_thread.is_discord_running():
|
||||||
self.rpc_thread.rpc.close()
|
self.rpc_thread.rpc.close()
|
||||||
self.rpc_thread.should_close = True
|
self.rpc_thread.should_close = True
|
||||||
else:
|
# else:
|
||||||
raise NotImplementedError("This function does not work on android")
|
# raise NotImplementedError("This function does not work on android")
|
||||||
# stupid code
|
# # stupid code
|
||||||
# ws.close()
|
# # ws.close()
|
||||||
|
|
||||||
# def on_app_pause(self) -> None:
|
# def on_app_pause(self) -> None:
|
||||||
# ws.close()
|
# ws.close()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue