aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/org/polyfrost/chatting/command/ChattingCommand.kt
diff options
context:
space:
mode:
authorWyvest <wyvestbusiness@gmail.com>2023-11-22 08:18:19 +0900
committerWyvest <wyvestbusiness@gmail.com>2023-11-22 08:18:19 +0900
commit8b373f577d9c6dde26357ef3fc86691f1efef9b4 (patch)
treea5328e995d8f4df21a9fe94ac8e384be08833c70 /src/main/kotlin/org/polyfrost/chatting/command/ChattingCommand.kt
parent64230799777473246b5f98efbc596206c5bbf42d (diff)
downloadChatting-8b373f577d9c6dde26357ef3fc86691f1efef9b4.tar.gz
Chatting-8b373f577d9c6dde26357ef3fc86691f1efef9b4.tar.bz2
Chatting-8b373f577d9c6dde26357ef3fc86691f1efef9b4.zip
update PGT and relocate to org.polyfrost
Diffstat (limited to 'src/main/kotlin/org/polyfrost/chatting/command/ChattingCommand.kt')
-rw-r--r--src/main/kotlin/org/polyfrost/chatting/command/ChattingCommand.kt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/kotlin/org/polyfrost/chatting/command/ChattingCommand.kt b/src/main/kotlin/org/polyfrost/chatting/command/ChattingCommand.kt
new file mode 100644
index 0000000..86aff72
--- /dev/null
+++ b/src/main/kotlin/org/polyfrost/chatting/command/ChattingCommand.kt
@@ -0,0 +1,14 @@
+package org.polyfrost.chatting.command
+
+import cc.polyfrost.oneconfig.utils.commands.annotations.Command
+import cc.polyfrost.oneconfig.utils.commands.annotations.Main
+import org.polyfrost.chatting.Chatting
+import org.polyfrost.chatting.config.ChattingConfig
+
+@Command(value = Chatting.ID, description = "Access the " + Chatting.NAME + " GUI.")
+class ChattingCommand {
+ @Main
+ fun main() {
+ ChattingConfig.openGui()
+ }
+} \ No newline at end of file