diff options
author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-07-11 13:45:16 +0100 |
---|---|---|
committer | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-07-11 13:45:16 +0100 |
commit | 89938d618307955ac1218b0f286bb1b1ce252e35 (patch) | |
tree | bbab43e037fb75a22c933e8cd80cbe685eff4065 /src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt | |
parent | a0f40b674eb8696e4145aefc960ae0e87173fcb1 (diff) | |
download | Chatting-89938d618307955ac1218b0f286bb1b1ce252e35.tar.gz Chatting-89938d618307955ac1218b0f286bb1b1ce252e35.tar.bz2 Chatting-89938d618307955ac1218b0f286bb1b1ce252e35.zip |
hippity hoppity oneconfig is my property
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt')
-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 |