aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt
blob: ba697e11dad534ee24dfc78068d2646cc67214a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package cc.woverflow.chatting.command

import cc.woverflow.chatting.Chatting
import cc.woverflow.chatting.config.ChattingConfig
import gg.essential.api.EssentialAPI
import gg.essential.api.commands.Command
import gg.essential.api.commands.DefaultHandler

object ChattingCommand : Command(Chatting.ID, true) {

    override val commandAliases: Set<Alias> = setOf(Alias("stratus"))

    @DefaultHandler
    fun handle() {
        EssentialAPI.getGuiUtil().openScreen(ChattingConfig.gui())
    }
}