diff options
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/command')
| -rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
