summaryrefslogtreecommitdiff
path: root/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt')
-rw-r--r--src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt b/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt
new file mode 100644
index 0000000..8ba49e0
--- /dev/null
+++ b/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt
@@ -0,0 +1,13 @@
+package tech.thatgravyboat.rewardclaim
+
+import gg.essential.api.EssentialAPI
+import gg.essential.api.commands.Command
+import gg.essential.api.commands.DefaultHandler
+
+class Command : Command("rewardclaim") {
+
+ @DefaultHandler
+ fun handle() {
+ EssentialAPI.getGuiUtil().openScreen(Config.gui())
+ }
+} \ No newline at end of file