chore: upgrade ronebot to 2.4.8 use space split command
This commit is contained in:
3 files changed
+1
-5
No files matched your search
@@ -1,6 +1,6 @@
|
||||
[versions]
|
||||
kotlinVersion = "2.0.20"
|
||||
ronebotVersion = "2.4.7"
|
||||
ronebotVersion = "2.4.8"
|
||||
shadowVersion = "8.3.0"
|
||||
okhttpVersion = "5.0.0-alpha.14"
|
||||
exposedVersion = "0.53.0"
|
||||
|
||||
@@ -33,7 +33,6 @@ import cn.rtast.fancybot.util.file.NiuziBankManager
|
||||
import cn.rtast.fancybot.util.file.NiuziManager
|
||||
import cn.rtast.fancybot.util.file.RCONManager
|
||||
import cn.rtast.fancybot.util.item.ItemManager
|
||||
import cn.rtast.rob.util.PermissionCommand
|
||||
import com.google.gson.Gson
|
||||
import com.google.gson.GsonBuilder
|
||||
import java.time.Instant
|
||||
@@ -127,5 +126,3 @@ val commands = listOf(
|
||||
TodayDontDrinkCommand(), MCBotCommand(), HTTPCatCommand(), HTTPDogCommand(),
|
||||
AITTSCommand()
|
||||
)
|
||||
|
||||
val permissionCommands = listOf<PermissionCommand>()
|
||||
@@ -29,7 +29,6 @@ suspend fun OneBotAction.getUserName(groupId: Long, userId: Long): String {
|
||||
|
||||
suspend fun initCommand() {
|
||||
commands.forEach { ROneBotFactory.commandManager.register(it) }
|
||||
permissionCommands.forEach { ROneBotFactory.commandManager.register(it) }
|
||||
}
|
||||
|
||||
fun initFilesDir() {
|
||||
|
||||
Reference in New Issue
Block a user