feat: add black list manager to manage group who kicked the bot
This commit is contained in:
10 files changed
+123
-8
No files matched your search
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright © 2024 RTAkland
|
||||
* Author: RTAkland
|
||||
* Date: 2024/10/11
|
||||
*/
|
||||
|
||||
|
||||
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 TodayEatCommand : BaseCommand() {
|
||||
override val commandNames = listOf("今天吃什么")
|
||||
|
||||
override suspend fun executeGroup(listener: OneBotListener, message: GroupMessage, args: List<String>) {
|
||||
message.reply("你吃牛魔, 别吃了")
|
||||
}
|
||||
}
|
||||
|
||||
class TodayDrinkCommand : BaseCommand() {
|
||||
override val commandNames = listOf("今天喝什么")
|
||||
}
|
||||
Reference in New Issue
Block a user