aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-06-16 14:48:12 +0200
committerGitHub <noreply@github.com>2024-06-16 14:48:12 +0200
commit37bb14382e8aac7798de1e567b8e9410727ef5fd (patch)
treea2751e981625c215e62e83fcb1d372948898519d /src/main/java/at/hannibal2/skyhanni/config
parent7da2cd817f8f876100be1211990a4e80a066ac42 (diff)
downloadskyhanni-37bb14382e8aac7798de1e567b8e9410727ef5fd.tar.gz
skyhanni-37bb14382e8aac7798de1e567b8e9410727ef5fd.tar.bz2
skyhanni-37bb14382e8aac7798de1e567b8e9410727ef5fd.zip
Backend: Add true color support to chat formatting codes (#1397)
Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt5
1 files changed, 5 insertions, 0 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 a0a6e60d4..bd94462c4 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -83,6 +83,7 @@ import at.hannibal2.skyhanni.test.command.TrackParticlesCommand
import at.hannibal2.skyhanni.test.command.TrackSoundsCommand
import at.hannibal2.skyhanni.utils.APIUtil
import at.hannibal2.skyhanni.utils.ChatUtils
+import at.hannibal2.skyhanni.utils.ExtendedChatColor
import at.hannibal2.skyhanni.utils.LorenzUtils
import at.hannibal2.skyhanni.utils.SoundUtils
import at.hannibal2.skyhanni.utils.TabListData
@@ -507,6 +508,10 @@ object Commands {
"Sends a custom chat message client side in the chat",
) { TestChatCommand.command(it) }
registerCommand(
+ "shtestrainbow",
+ "Sends a rainbow in chat"
+ ) { ExtendedChatColor.testCommand() }
+ registerCommand(
"shcopyinternalname",
"Copies the internal name of the item in hand to the clipboard.",
) { SkyHanniDebugsAndTests.copyItemInternalName() }