mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 10:02:23 +00:00
kongge fix a bug
This commit is contained in:
parent
42e75c49ca
commit
9d06e5ae47
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user