From 42e75c49ca72c4ade27c2c6af002bf1b0d919bf5 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 28 Jun 2021 13:38:54 +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 2b87e0c..e25d922 100644 --- a/kongge.py +++ b/kongge.py @@ -11,7 +11,7 @@ except ImportError: @listener(is_plugin=True, outgoing=True, ignore_edited=True) async def kongge(context): if jieba_imported and context.text: - if context.text.startswith('-'): + if context.text.startswith('-') or context.text.startswith('/'): return seg_list = jieba.cut(context.text) seg_txt = ' '.join(seg_list) diff --git a/list.json b/list.json index a451302..5e2336a 100644 --- a/list.json +++ b/list.json @@ -522,7 +522,7 @@ }, { "name": "kongge", - "version": "1.01", + "version": "1.02", "section": "chat", "maintainer": "xtaodada", "size": "4.0 kb",