diff --git a/.gitignore b/.gitignore index d4fa158..d4903b5 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,8 @@ __pycache__/ build/ dist/ -Release/ \ No newline at end of file +Release/ + +Lib/ +Scripts/ +pyvenv.cfg \ No newline at end of file diff --git a/DetailedLoLRPC.py b/DetailedLoLRPC.py index 278617d..92a4785 100644 --- a/DetailedLoLRPC.py +++ b/DetailedLoLRPC.py @@ -208,8 +208,9 @@ async def chatUpdate(connection, event): elif option == 2: RPC.update(state = discStrings[availability], large_image = profileIcon(data["icon"]), - large_text = f"{data['name']} - Lvl {data['lol']['level']}", - small_image = availabilityImg(availability),) + large_text = f"{data['gameName']}#{data['gameTag']} | Lvl {data['lol']['level']}", + small_image = availabilityImg(availability), + small_text = data["statusMessage"] if data["statusMessage"] else None) # Detect if game has started isLeagueOpened = procPath("LeagueClient.exe") diff --git a/utilities.py b/utilities.py index 42e32c8..1a2c587 100644 --- a/utilities.py +++ b/utilities.py @@ -6,7 +6,7 @@ from json import load as loadj, dump as dumpj from easygui import enterbox -VERSION = "v2.7" +VERSION = "v2.8" GITHUBURL = "https://github.com/developers192/DetailedLoLRPC/releases/latest" ISSUESURL = "https://github.com/developers192/DetailedLoLRPC/issues/new" DEFAULTCONFIG = { @@ -107,4 +107,4 @@ def addLog(data): logs = [] logs.append(data) with open(LOGDIR, "w") as f: - dumpj(logs, f) \ No newline at end of file + dumpj(logs, f)