From 487709996c22fb0dbcac792076be799a09865600 Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Mon, 3 Jan 2022 11:12:54 +0700 Subject: Chattils -> Chatting (1.1.0) Update images (ty Mo2men) update screenshot line tooltip (ty Mo2men) --- .../cc/woverflow/chatting/command/ChattingCommand.kt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt (limited to 'src/main/kotlin/cc/woverflow/chatting/command') diff --git a/src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt b/src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt new file mode 100644 index 0000000..ba697e1 --- /dev/null +++ b/src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt @@ -0,0 +1,17 @@ +package cc.woverflow.chatting.command + +import cc.woverflow.chatting.Chatting +import cc.woverflow.chatting.config.ChattingConfig +import gg.essential.api.EssentialAPI +import gg.essential.api.commands.Command +import gg.essential.api.commands.DefaultHandler + +object ChattingCommand : Command(Chatting.ID, true) { + + override val commandAliases: Set = setOf(Alias("stratus")) + + @DefaultHandler + fun handle() { + EssentialAPI.getGuiUtil().openScreen(ChattingConfig.gui()) + } +} \ No newline at end of file -- cgit