Open ifrvn opened 1 year ago
The dialogue
plugin was created BEFORE the console
, in the past days we have only commands
and configuration files
to configure the behaviour of an plugin. Obviously the command
way is more user-friendly in this case.
It is true if there is a UI to make changes for the plugin, but currently no one has time to do the such thing. As always, we welcome everyone who would open a PR for this.
Describe the problem related to the feature request
在使用中我希望同一个问题对不同用户的回答范围不同
比如有这样的问答:
# 老婆 老公1
# 老婆 老公2
# 老婆 老公3
# 老婆 才不是你老婆1
# 老婆 才不是你老婆2
# 老婆 才不是你老婆3
# 老婆 离婚!
存在以下场景:
Describe the solution you'd like
-u uid,uid,uid ...
或者-u @user,@user,@user ...
参数添加白名单-U uid,uid,uid ...
或者-U @user,@user,@user ...
参数添加黑名单#id -u
查询该问答的白名单列表#id -U
查询该问答的黑名单列表#id -ud uid,uid,uid ...
或者#id -ud @user,@user,@user ...
移除白名单#id -Ud uid,uid,uid ...
或者#id -Ud @user,@user,@user ...
移除黑名单冲突处理机制:
对于同一条问答,若uid已存在于白名单中,再添加到黑名单时则自动从白名单中移除,反之亦然。其他情况不存在冲突,按概率触发即可。
Describe alternatives you've considered
老实说,还是控制台操作比较方便,好加好查也好删