diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-01 06:50:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 14:50:58 +1000 |
commit | a2abc8845169a5bf2f729e629fee5a9c69c938fb (patch) | |
tree | 0eada21af0961ccf20cb954f159906f6dcf6d727 /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | 4251909d9dd304410f575efa87f0bc9f4bfaf784 (diff) | |
download | skyhanni-a2abc8845169a5bf2f729e629fee5a9c69c938fb.tar.gz skyhanni-a2abc8845169a5bf2f729e629fee5a9c69c938fb.tar.bz2 skyhanni-a2abc8845169a5bf2f729e629fee5a9c69c938fb.zip |
Feature: Chocolate Shop Price (#1601)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordRPCManager.kt | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordRPCManager.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordRPCManager.kt index 8aa031b2d..9d9654353 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordRPCManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordRPCManager.kt @@ -84,12 +84,12 @@ object DiscordRPCManager : IPCListener { } catch (ex: Exception) { logger.warn("Failed to connect to RPC!", ex) ChatUtils.clickableChat( - "Discord Rich Presence was unable to start! " + + "Discord Rich Presence was unable to start! " + "This usually happens when you join SkyBlock when Discord is not started. " + "Please run /shrpcstart to retry once you have launched Discord.", - onClick = { - startCommand() - } + onClick = { + startCommand() + } ) } } @@ -125,10 +125,12 @@ object DiscordRPCManager : IPCListener { setLargeImage(discordIconKey, location) if (config.showSkyCryptButton.get()) { - addButton(RichPresenceButton( - "https://sky.shiiyu.moe/stats/${LorenzUtils.getPlayerName()}/${HypixelData.profileName}", - "Open SkyCrypt Profile" - )) + addButton( + RichPresenceButton( + "https://sky.shiiyu.moe/stats/${LorenzUtils.getPlayerName()}/${HypixelData.profileName}", + "Open SkyCrypt Profile" + ) + ) } }.build()) } |