feat: add today dont eat/drink command
This commit is contained in:
2 files changed
+20
-1
No files matched your search
@@ -34,6 +34,15 @@ class TodayEatCommand : BaseCommand() {
|
||||
}
|
||||
}
|
||||
|
||||
@CommandDescription("今天不吃什么")
|
||||
class TodayDontEatCommand : BaseCommand() {
|
||||
override val commandNames = listOf("今天不吃什么")
|
||||
|
||||
override suspend fun executeGroup(listener: OneBotListener, message: GroupMessage, args: List<String>) {
|
||||
message.reply("你吃个结巴, 是吧")
|
||||
}
|
||||
}
|
||||
|
||||
@CommandDescription("今天喝什么")
|
||||
class TodayDrinkCommand : BaseCommand() {
|
||||
override val commandNames = listOf("今天喝什么")
|
||||
@@ -48,4 +57,13 @@ class TodayDrinkCommand : BaseCommand() {
|
||||
override suspend fun executeGroup(listener: OneBotListener, message: GroupMessage, args: List<String>) {
|
||||
message.reply("今天喝${drinkList.random()}吧~")
|
||||
}
|
||||
}
|
||||
|
||||
@CommandDescription("今天不吃什么")
|
||||
class TodayDontDrinkCommand : 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