From 1c2d3bb6b41034de34c85720c7f98e9aaf99513e Mon Sep 17 00:00:00 2001 From: Kyomotoi <1172294279@qq.com> Date: Thu, 12 Nov 2020 17:27:29 +0800 Subject: [Fix] --- ATRI/plugins/plugin_chat/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ATRI') diff --git a/ATRI/plugins/plugin_chat/__init__.py b/ATRI/plugins/plugin_chat/__init__.py index ec6738f..74c9ef2 100644 --- a/ATRI/plugins/plugin_chat/__init__.py +++ b/ATRI/plugins/plugin_chat/__init__.py @@ -228,6 +228,7 @@ async def _(bot: Bot, event: Event, state: dict) -> None: if countX(list_M, user) >= 3: await fxxkMe.finish("不是??你这么想被咱骂的嘛??被咱骂就这么舒服的吗?!该......你该不会是.....M吧!") + list_M = list(set(list_M)) elif countX(list_M, user) >= 6: await fxxkMe.finish("给我适可而止阿!?") @@ -292,4 +293,4 @@ async def _(bot: Bot, event: Event, state: dict) -> None: # result.append(line.strip('\n')) # resu = choice(result) -# print(resu%name) \ No newline at end of file +# print(resu%name) -- cgit v1.2.3