chore: bump dep version
This commit is contained in:
12 files changed
+58
-35
No files matched your search
@@ -12,7 +12,7 @@ import cn.rtast.rob.util.BaseCommand
|
||||
import cn.rtast.rob.util.ob.OBMessage
|
||||
|
||||
class EchoCommand: BaseCommand() {
|
||||
override val commandName = "/echo"
|
||||
override val commandNames = listOf("/echo")
|
||||
|
||||
override suspend fun executeGroup(listener: OBMessage, message: GroupMessage, args: List<String>) {
|
||||
listener.sendGroupMessage(message.groupId, args.joinToString(" "))
|
||||
|
||||
@@ -13,7 +13,7 @@ import cn.rtast.rob.util.BaseCommand
|
||||
import cn.rtast.rob.util.ob.OBMessage
|
||||
|
||||
class JrrpCommand : BaseCommand() {
|
||||
override val commandName = "/jrrp"
|
||||
override val commandNames = listOf("/jrrp", "/今日人品")
|
||||
|
||||
private val jrrpManager = JrrpManager()
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import cn.rtast.rob.util.ob.OBMessage
|
||||
import java.time.Instant
|
||||
|
||||
class MusicCommand : BaseCommand() {
|
||||
override val commandName = "/music"
|
||||
override val commandNames = listOf("/music", "/点歌")
|
||||
|
||||
private val searchedResult = mutableMapOf<Long, List<SearchedResult>>()
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import cn.rtast.rob.util.ob.OBMessage
|
||||
private val signManager = SignManager()
|
||||
|
||||
class SignCommand : BaseCommand() {
|
||||
override val commandName = "/签到"
|
||||
override val commandNames = listOf("/签到", "/sign")
|
||||
|
||||
override suspend fun executeGroup(listener: OBMessage, message: GroupMessage, args: List<String>) {
|
||||
if (signManager.isSigned(message.sender.userId)) {
|
||||
@@ -28,7 +28,7 @@ class SignCommand : BaseCommand() {
|
||||
}
|
||||
|
||||
class MyPointCommand: BaseCommand() {
|
||||
override val commandName = "/我的分数"
|
||||
override val commandNames = listOf("/我的分数", "/mp")
|
||||
|
||||
override suspend fun executeGroup(listener: OBMessage, message: GroupMessage, args: List<String>) {
|
||||
val status = signManager.getStatus(message.sender.userId)
|
||||
|
||||
Reference in New Issue
Block a user