diff options
author | Kyomotoi <[email protected]> | 2020-11-12 17:27:29 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-12 17:27:29 +0800 |
commit | 1c2d3bb6b41034de34c85720c7f98e9aaf99513e (patch) | |
tree | 5fa63fd20b5b12ab830ec1461358f1b60a4c12f5 | |
parent | 3aee3c9cefa6a31f1b27afe4dcd8469e65d23d26 (diff) | |
download | ATRI-1c2d3bb6b41034de34c85720c7f98e9aaf99513e.tar.gz ATRI-1c2d3bb6b41034de34c85720c7f98e9aaf99513e.tar.bz2 ATRI-1c2d3bb6b41034de34c85720c7f98e9aaf99513e.zip |
[Fix]
-rw-r--r-- | ATRI/plugins/plugin_chat/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |