mirror of https://github.com/Mai-with-u/MaiBot.git
添加使用说明
parent
84495f8329
commit
cd96644a4c
|
|
@ -41,9 +41,10 @@ ban_words = [
|
||||||
]
|
]
|
||||||
|
|
||||||
ban_msgs_regex = [
|
ban_msgs_regex = [
|
||||||
# 需要过滤的消息(原始消息)匹配的正则表达式,匹配到的消息将被过滤,若不了解正则表达式请勿修改
|
# 需要过滤的消息(原始消息)匹配的正则表达式,匹配到的消息将被过滤(支持CQ码),若不了解正则表达式请勿修改
|
||||||
#"https?://[^\\s]+", # 匹配https链接
|
#"https?://[^\\s]+", # 匹配https链接
|
||||||
#"\\d{4}-\\d{2}-\\d{2}", # 匹配日期
|
#"\\d{4}-\\d{2}-\\d{2}", # 匹配日期
|
||||||
|
# "\\[CQ:at,qq=\\d+\\]" # 匹配@
|
||||||
]
|
]
|
||||||
|
|
||||||
[emoji]
|
[emoji]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue