From 89938d618307955ac1218b0f286bb1b1ce252e35 Mon Sep 17 00:00:00 2001 From: nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> Date: Mon, 11 Jul 2022 13:45:16 +0100 Subject: hippity hoppity oneconfig is my property --- .../cc/woverflow/chatting/command/ChattingCommand.kt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt (limited to 'src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt') 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..0ba8bd7 --- /dev/null +++ b/src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt @@ -0,0 +1,16 @@ +package cc.woverflow.chatting.command + +import cc.polyfrost.oneconfig.utils.commands.annotations.Command +import cc.polyfrost.oneconfig.utils.commands.annotations.Main +import cc.woverflow.chatting.Chatting +import cc.woverflow.chatting.config.ChattingConfig + +@Command(value = Chatting.ID, description = "Access the " + Chatting.NAME + " GUI.") +class ChattingCommand { + companion object { + @Main + fun main() { + ChattingConfig.openGui() + } + } +} \ No newline at end of file -- cgit