From 9d06e5ae476d05cfcd50be55219d64e3507bd612 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 28 Jun 2021 13:45:39 +0800 Subject: [PATCH] kongge fix a bug --- kongge.py | 2 +- list.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kongge.py b/kongge.py index e25d922..d30dae2 100644 --- a/kongge.py +++ b/kongge.py @@ -10,7 +10,7 @@ except ImportError: @listener(is_plugin=True, outgoing=True, ignore_edited=True) async def kongge(context): - if jieba_imported and context.text: + if jieba_imported and context.text and not context.via_bot: if context.text.startswith('-') or context.text.startswith('/'): return seg_list = jieba.cut(context.text) diff --git a/list.json b/list.json index 5e2336a..1cf22c9 100644 --- a/list.json +++ b/list.json @@ -522,7 +522,7 @@ }, { "name": "kongge", - "version": "1.02", + "version": "1.03", "section": "chat", "maintainer": "xtaodada", "size": "4.0 kb",