45 lines
No EOL
1.1 KiB
JSON
45 lines
No EOL
1.1 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/NoiTheCat/RegexBot/main/ServerConfigSchema.json",
|
|
"Name": "SERVER NAME", // Server name is optional, but useful as a reference
|
|
"Moderators": [
|
|
// Users and roles are accepted here.
|
|
"MODERATOR"
|
|
],
|
|
|
|
/*
|
|
The following configuration is provided as a sample for commonly-used features.
|
|
For a detailed reference which includes all possible configuration settings, see:
|
|
(TODO put documentation link here)
|
|
*/
|
|
"RegexModerator": [
|
|
{
|
|
"Label": "No cheese",
|
|
"Regex": "cheese",
|
|
"Response": [
|
|
"say #_ You can't say that, that's illegal",
|
|
"delete"
|
|
]
|
|
},
|
|
{
|
|
"Label": "Secret club initiation",
|
|
"Regex": "my name is .* and I dislike cheese",
|
|
"Response": [
|
|
"say @_ We welcome you.",
|
|
"addrole &00000::Secret Club member"
|
|
]
|
|
}
|
|
],
|
|
|
|
"AutoResponder": [
|
|
{
|
|
"Label": "Infinite no u",
|
|
"Regex": "no u",
|
|
"Reply": "no u"
|
|
},
|
|
{
|
|
"Label": "Acknowledge praise",
|
|
"Regex": "yes u",
|
|
"Reply": ":blush:"
|
|
}
|
|
]
|
|
} |