Skip to content

Commit

Permalink
Fix for google colab and non discord users
Browse files Browse the repository at this point in the history
  • Loading branch information
aitronz committed Jan 26, 2024
1 parent e7ea5b4 commit f749a9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/discord_presence.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ def start_presence(self):
print(error)
self.rpc = None
self.running = False
except Exception as e:
print(f"Error: Unable to connect to Rich Presence. {e}")
self.rpc = None
self.running = False

def update_presence(self):
if self.rpc:
Expand Down

0 comments on commit f749a9c

Please sign in to comment.