Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: blacklist and whitelist #47

Closed
Samarium150 opened this issue Sep 2, 2021 · 3 comments
Closed

feat: blacklist and whitelist #47

Samarium150 opened this issue Sep 2, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Samarium150
Copy link
Owner

refer: mirai forum

@Samarium150 Samarium150 self-assigned this Sep 2, 2021
@Samarium150 Samarium150 added the enhancement New feature or request label Sep 2, 2021
@kokorousaki
Copy link

想问下屏蔽某个群已经实现了吗,怎么配置呢

@Samarium150
Copy link
Owner Author

想问下屏蔽某个群已经实现了吗,怎么配置呢

  1. Config.yml中的mode改成blacklist
  2. Data.yml中的groupSet添加想屏蔽的群 或者 执行命令/lolicon add group <群号>

白名单模式下,只有groupSet中的群,userSet中的用户能执行/lolicon get/lolicon adv这两个命令。
黑名单模式则反之。

@kokorousaki
Copy link

想问下屏蔽某个群已经实现了吗,怎么配置呢

  1. Config.yml中的mode改成blacklist
  2. Data.yml中的groupSet添加想屏蔽的群 或者 执行命令/lolicon add group <群号>

白名单模式下,只有groupSet中的群,userSet中的用户能执行/lolicon get/lolicon adv这两个命令。
黑名单模式则反之。

谢谢啦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants