mirror of
https://github.com/opus-tango/minecraft-server-discord-bot.git
synced 2026-03-20 03:55:20 +00:00
add dynamic loading of regex for testing
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
"config": {
|
||||
"chat_channel": "testchatchannel",
|
||||
"command_channel": "testchatchannel",
|
||||
"command_prefix": "!"
|
||||
"command_prefix": "!",
|
||||
"regex": [
|
||||
{
|
||||
"type": "groups",
|
||||
"match": "\\[(.*?)\\].*INFO.*\\]: <(.*)> (.*)",
|
||||
"capture": "**[{groups[0]}]**: {groups[2]}"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user