feat: add today somke

This commit is contained in:
2025-02-18 22:18:16 +08:00
parent 5852ceb5ba
commit d68753df98
2 files changed
+23 -2

No files matched your search

+1 -1
View File
@@ -117,5 +117,5 @@ val commands = listOf(
GravatarCommand(), PastebinCommand(), ShuffleEchoCommand(), TodayDontEatCommand(), GravatarCommand(), PastebinCommand(), ShuffleEchoCommand(), TodayDontEatCommand(),
TodayDontDrinkCommand(), MCBotCommand(), HTTPCatCommand(), HTTPDogCommand(), TodayDontDrinkCommand(), MCBotCommand(), HTTPCatCommand(), HTTPDogCommand(),
AITTSCommand(), NWWNCommand(), TJBGXLCommand(), XNMCommand(), SJCommand(), AITTSCommand(), NWWNCommand(), TJBGXLCommand(), XNMCommand(), SJCommand(),
OSUCommand() OSUCommand(), TodaySmokeCommand()
) )
@@ -65,4 +65,25 @@ class TodayDontDrinkCommand : BaseCommand() {
override suspend fun executeGroup(message: GroupMessage, args: List<String>) { override suspend fun executeGroup(message: GroupMessage, args: List<String>) {
message.reply("你喝个结巴, 是吧") message.reply("你喝个结巴, 是吧")
} }
} }
@CommandDescription("今天抽什么")
class TodaySmokeCommand : BaseCommand() {
override val commandNames = listOf("今天抽什么")
private val smokeList = listOf(
"黑利", "蓝利", "白利", "普皖", "金皖",
"宽窄", "煊赫门", "骆驼", "百乐(红酒)",
"手卷烟", "烟斗", "万宝路", "白沙3代",
"白沙2代", "中华", "南京-大观园", "金钗",
"银钗", "玉溪", "芒果", "南京-雨花石",
"金圣", "南京95", "红塔山", "轿子",
"钻石荷花", "黄金叶(天叶)", "芙蓉王",
"黄鹤楼", "红河", "长白山", "长丰",
"中南海(蓝莓爆珠)", "云烟", "真龙", "红利"
)
override suspend fun executeGroup(message: GroupMessage, args: List<String>) {
message.reply("今天抽${smokeList.random()}吧~")
}
}