diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index 22af1efcd..625bc7f83 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -254,7 +254,7 @@ object Commands { ) { SkyHanniDebugsAndTests.copyItemInternalName() } registerCommand( "shpartydebug", - "Lists person SkyHanni thinks is in your party into the chat." + "List persons into the chat SkyHanni thinks are in your party." ) { PartyAPI.listMembers() } } diff --git a/src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt index bb5185852..1cf79bf02 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt @@ -20,7 +20,10 @@ class PartyAPI { LorenzUtils.chat(" §a- §7$member") } - if (Random.nextDouble() < 0.1) OSUtils.openBrowser("https://www.youtube.com/watch?v=iANP7ib7CPA") + if (Random.nextDouble() < 0.1) { + OSUtils.openBrowser("https://www.youtube.com/watch?v=iANP7ib7CPA") + LorenzUtils.hoverableChat("§7Are You Ready To Party?", listOf("§b~Spongebob")) + } } val partyMembers = mutableListOf<String>() |