Closed nullqwertyuiop closed 2 years ago
不完全匹配+1 再提个能子指令覆盖原有内容(
不完全匹配+1 再提个能子指令覆盖原有内容(
子指令覆盖原有内容是什么
理解不能+1
2021年6月19日 上午10:05,ZAPHAKIEL @.***> 写道:
不完全匹配+1 再提个能子指令覆盖原有内容(
子指令覆盖原有内容是什么
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SAGIRI-kawaii/sagiri-bot/issues/37#issuecomment-864340791, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWVY7Q5I453JIIT5HY4TRLTTP3PVANCNFSM45M2YACA.
不完全匹配+1 再提个能子指令覆盖原有内容(
子指令覆盖原有内容是什么
就是同个关键字回复覆盖原有内容 就Q回复A 不用删除步骤 Q回复B
Umm…如果我没记错的话,Sagiri 如果同一个关键词有 2 个及以上的应答时是依据这个关键词下的所有应答随机抽取(还是说按顺序,不记得了)进行回复。如果按这样 同个关键字回复覆盖原有内容 的话,直接写个新的模块进行定义然后丢 modules 文件夹里可能会更好点,毕竟一个关键词匹配多个应答还是挺有用的,我的老伙计。
2021年6月19日 上午11:49,Sirayuki-zh @.***> 写道:
不完全匹配+1 再提个能子指令覆盖原有内容(
子指令覆盖原有内容是什么
就是同个关键字回复覆盖原有内容 就Q回复A 不用删除步骤 Q回复B
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SAGIRI-kawaii/sagiri-bot/issues/37#issuecomment-864350150, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWVY7XC3RIGY6PMIMNWHGDTTQHV7ANCNFSM45M2YACA.
Umm…如果我没记错的话,Sagiri 如果同一个关键词有 2 个及以上的应答时是依据这个关键词下的所有应答随机抽取(还是说按顺序,不记得了)进行回复。如果按这样 同个关键字回复覆盖原有内容 的话,直接写个新的模块进行定义然后丢 modules 文件夹里可能会更好点,毕竟一个关键词匹配多个应答还是挺有用的,我的老伙计。 … 2021年6月19日 上午11:49,Sirayuki-zh @.***> 写道: 不完全匹配+1 再提个能子指令覆盖原有内容( 子指令覆盖原有内容是什么 就是同个关键字回复覆盖原有内容 就Q回复A 不用删除步骤 Q回复B — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#37 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWVY7XC3RIGY6PMIMNWHGDTTQHV7ANCNFSM45M2YACA.
所以我说了二级命令(描述有点错误 当然新的也行),不会更改默认功能
机器人可对设定好的关键词进行回复,但是目前仅局限于与设定关键词完全一致的情况。 建议新增模糊匹配功能,比如设定关键词"Hello World!",可响应"Hello World", "Hello world", "hello world"等与关键词高度相似但不完全一致的关键词。