mirror of
https://github.com/System-End/Discord-MC-Chat.git
synced 2026-04-19 22:05:11 +00:00
控制台频道敏感过滤
This commit is contained in:
parent
7449bdc8c3
commit
3afa3aa26f
2 changed files with 6 additions and 0 deletions
|
|
@ -84,6 +84,9 @@ mspt_monitoring:
|
|||
console_forwarding:
|
||||
enable: true
|
||||
execute_messages_from_channel: true
|
||||
# 敏感信息正则过滤
|
||||
filter_regex:
|
||||
- "\\b(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\b" # IPv4 地址
|
||||
channel: "console"
|
||||
|
||||
# 频道主题更新设置
|
||||
|
|
|
|||
|
|
@ -101,6 +101,9 @@ mspt_monitoring:
|
|||
console_forwarding:
|
||||
enable: true
|
||||
execute_messages_from_channel: true
|
||||
# 敏感信息正则过滤
|
||||
filter_regex:
|
||||
- "\\b(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\b" # IPv4 地址
|
||||
channels:
|
||||
- server: "SMP"
|
||||
channel: "console-smp"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue