feat: add genshin command

This commit is contained in:
2024-09-24 14:30:29 +08:00
parent 0c19984e60
commit 02578a8901
2 files changed
+22 -1

No files matched your search

@@ -192,7 +192,8 @@ val commands = listOf(
JueCommand(), ShortLinkCommand(), JueCommand(), ShortLinkCommand(),
TenSetuCommand(), ShotSelfCommand(), TenSetuCommand(), ShotSelfCommand(),
ShotOtherCommand(), ReverseGIFCommand(), ShotOtherCommand(), ReverseGIFCommand(),
NiuziTransferCommand(), NiuziQueryCommand() NiuziTransferCommand(), NiuziQueryCommand(),
GenshinCommand()
) )
val START_UP_TIME = Instant.now().epochSecond val START_UP_TIME = Instant.now().epochSecond
@@ -0,0 +1,20 @@
/*
* Copyright © 2024 RTAkland
* Author: RTAkland
* Date: 2024/9/24
*/
package cn.rtast.fancybot.commands.misc
import cn.rtast.rob.entity.GroupMessage
import cn.rtast.rob.util.BaseCommand
import cn.rtast.rob.util.ob.OneBotListener
class GenshinCommand : BaseCommand() {
override val commandNames = listOf("元神", "原神")
override suspend fun executeGroup(listener: OneBotListener, message: GroupMessage, args: List<String>) {
message.reply("你原神牛魔呢")
}
}