diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-01-01 22:11:34 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-01-01 22:11:34 +0700 |
commit | cc4a11c7943d9036dc71679eaa531832cd2a2f0c (patch) | |
tree | da242580d43fa6f26f0b0b04deab82c200a5bb16 /src/main/kotlin/cc/woverflow/chattils/command | |
parent | 856df4d08d3c392b35f256966f6263da86fdb7ab (diff) | |
download | Chatting-cc4a11c7943d9036dc71679eaa531832cd2a2f0c.tar.gz Chatting-cc4a11c7943d9036dc71679eaa531832cd2a2f0c.tar.bz2 Chatting-cc4a11c7943d9036dc71679eaa531832cd2a2f0c.zip |
Chattils 1.0.0
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chattils/command')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chattils/command/ChattilsCommand.kt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/kotlin/cc/woverflow/chattils/command/ChattilsCommand.kt b/src/main/kotlin/cc/woverflow/chattils/command/ChattilsCommand.kt new file mode 100644 index 0000000..aa162e1 --- /dev/null +++ b/src/main/kotlin/cc/woverflow/chattils/command/ChattilsCommand.kt @@ -0,0 +1,15 @@ +package cc.woverflow.chattils.command + +import cc.woverflow.chattils.Chattils +import cc.woverflow.chattils.config.ChattilsConfig +import gg.essential.api.EssentialAPI +import gg.essential.api.commands.Command +import gg.essential.api.commands.DefaultHandler + +object ChattilsCommand : Command(Chattils.ID, true) { + + @DefaultHandler + fun handle() { + EssentialAPI.getGuiUtil().openScreen(ChattilsConfig.gui()) + } +}
\ No newline at end of file |