mirror of
https://github.com/opus-tango/minecraft-server-discord-bot.git
synced 2026-03-20 03:55:20 +00:00
fix regex and discord messages FINALLY!
This commit is contained in:
@@ -6,13 +6,8 @@
|
||||
"regex": [
|
||||
{
|
||||
"type": "groups",
|
||||
"match": "\\[(.*?)\\].*INFO.*\\]: <(.*)> (.*)",
|
||||
"capture": "**[{groups[1]}]**: {groups[2]}"
|
||||
},
|
||||
{
|
||||
"type": "groups",
|
||||
"match": "\\[(.*?)\\].*WARN.*?\\] \\[(.*?)\\]: (.*)",
|
||||
"capture": "**[{groups[1]}]**: {groups[2]}"
|
||||
"match": ".*\\]: <(.*)> (.*)",
|
||||
"capture": "**[{groups[0]}]**: {groups[1]}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user