diff --git a/src/qq_plugins/check.py b/src/qq_plugins/check.py index 66a0c2f..65b6cb0 100644 --- a/src/qq_plugins/check.py +++ b/src/qq_plugins/check.py @@ -14,7 +14,7 @@ with open(os.getcwd() + '/src/ai_chat/config/chat_ai.yaml', 'r', encoding='utf-8 menu = ['/今日运势','/图','/点歌','/摸摸头','/群老婆','/今日老婆', "/开启ai","/关闭ai","/角色列表","/添加人设", "/更新人设", "/删除人设", "/切换人设", "/管理员注册", - '/待办', '/test','/天气','我喜欢你', "❤", "/待办查询", "/新建待办", "/删除待办" ,"/cf"] + '/待办', '/test','/天气','我喜欢你', "❤", "/待办查询", "/新建待办", "/删除待办" ,"/cf", "/奶龙", "奶龙"] async def check_value_in_menu(message: MessageEvent) -> bool: @@ -46,7 +46,7 @@ text_list = [ ] -love = on_keyword({"我喜欢你", "❤"}, rule=to_me(), priority=10, block=True) +love = on_keyword({"我喜欢你", "❤"}, rule=to_me(), priority=10, block=False) @love.handle() async def spread_love(): await love.finish("我也喜欢你。") @@ -56,3 +56,15 @@ test = on_command("test", rule=to_me(), priority=10, block=True) async def bot_on_ready(): await test.finish("\nBoost & Magnum, ready fight!!!") +nai_loong = on_keyword({"奶龙"}, rule=to_me(), priority=10, block=False) +@nai_loong.handle() +async def not_nai_loong(): + await nai_loong.finish(message=Message(random.choice(text_list1))) + +text_list1 = [ + "我是?你是?😨", + "你才是奶龙😡", + "你是奶龙?🤔我是奶龙?😨你才是奶龙!😱", + "今夜星光闪闪✨️我爱你的心满满🤩", + "唐", +]