From 1afd5f8e08050bac0aa7ccf47d316828b412092e Mon Sep 17 00:00:00 2001 From: Ell1ven <124623051+Neville03@users.noreply.github.com> Date: Tue, 18 Apr 2023 16:31:04 +0200 Subject: [PATCH] Added a link censoring part --- .../_documentation/Configuration/Censoring.md | 41 ++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/public/_documentation/Configuration/Censoring.md b/public/_documentation/Configuration/Censoring.md index a50c3bd..c0a152a 100644 --- a/public/_documentation/Configuration/Censoring.md +++ b/public/_documentation/Configuration/Censoring.md @@ -69,4 +69,43 @@ To remove it from the list again: You can always get a list of currently censored words by using ``` !configure word_censor_list -``` \ No newline at end of file +``` + +### Link Censor + +For censoring links there are 2 options + +* Whitelist (Everything on the list is allowed) +* Blacklist (Everything on the list is blocked) + +You can switch between options with the following commands + +``` +!configure domain_list mode allowed +``` + +Everything on the list is allowed + +``` +!configure domain_list mode blocked +``` + +Everything on the list is blocked + +To add something to the to domain list: + +``` +!configure domain_list add +``` + +To remove it from the list again: + +``` +!configure domain_list remove +``` + +You can always get a list of currently allowed/blocked domains by using + +``` +!configure domain_list +```