feat: add genshin command
This commit is contained in:
2 files changed
+22
-1
No files matched your search
@@ -192,7 +192,8 @@ val commands = listOf(
|
||||
JueCommand(), ShortLinkCommand(),
|
||||
TenSetuCommand(), ShotSelfCommand(),
|
||||
ShotOtherCommand(), ReverseGIFCommand(),
|
||||
NiuziTransferCommand(), NiuziQueryCommand()
|
||||
NiuziTransferCommand(), NiuziQueryCommand(),
|
||||
GenshinCommand()
|
||||
)
|
||||
|
||||
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("你原神牛魔呢")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user