Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daglaroglou authored Jun 4, 2022
1 parent 34170bf commit 061e899
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,8 @@ def main():

t1=threading.Thread(target=rpc)
t2=threading.Thread(target=main)
t1.start()
t2.start()
if "discord.exe" in (i.name() for i in psutil.process_iter()):
t1.start()
t2.start()
else:
t2.start()

0 comments on commit 061e899

Please sign in to comment.