All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.cssxsh.mirai.plugin.command.ArknightsRecruitCommand.kt Maven / Gradle / Ivy

There is a newer version: 2.3.1
Show newest version
package xyz.cssxsh.mirai.plugin.command

import net.mamoe.mirai.console.command.*
import xyz.cssxsh.mirai.plugin.*

object ArknightsRecruitCommand : SimpleCommand(
    owner = ArknightsHelperPlugin,
    "recruit", "公招",
    description = "明日方舟助手公招指令"
), ArknightsHelperCommand {

    @Handler
    suspend fun CommandSenderOnMessage<*>.handler(vararg words: String) = sendMessage {
        recruit(words = words.asList()).toMessage()
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy