Skip to content

Commit

Permalink
correction bug Discord RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
Paullux committed Jan 3, 2024
1 parent ea71942 commit c703983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def is_discord_running():
from pypresence import Presence

def update_discord_rpc(title, artist, image, mainwindow):
if not is_discord_running():
if is_discord_running():
try:
mainwindow.RPC.update(details=title, state=artist, large_image=image, large_text="Entrain d'écouter")
print("Réussite de la mise à jour du RPC Discord")
Expand Down

0 comments on commit c703983

Please sign in to comment.