2019-06-08 11:07:52 +02:00
[ system ]
serverId = "356414885292277771"
2019-06-09 18:41:51 +02:00
color = "#1793d0"
2019-06-08 11:07:52 +02:00
2019-06-09 01:04:00 +02:00
[ localization ]
2019-06-15 11:47:11 +02:00
# empty string to disable the message
2019-06-09 01:04:00 +02:00
permissionDenied = "You do not have permission to use this command."
2019-06-09 18:41:51 +02:00
# results in <name> says <message>
redirectedMessage = "says"
2019-06-10 14:15:03 +02:00
messageDeleted = "Your message was deleted because it contained a banned word or phrase."
2019-06-09 01:04:00 +02:00
2019-06-12 23:43:36 +02:00
# If this is enabled, every new user will receive a welcome message.
# If the user has disabled their DMs, the fallbackMessage will be sent in the fallbackChannel instead.
# If no fallback channel or message is specified, no fallback will be sent.
[ feature . welcome ]
enabled = true
2019-06-13 00:19:02 +02:00
fallbackChannel = "555097559023222825"
2019-06-12 23:43:36 +02:00
fallbackMessage = "@@ I would like to greet you, but I can’t. :("
# This is a list of pairs where the key is the title and the value the content of the paragraph.
# Do not use empty strings to get empty headings or paragraphs. The discord API rejects those.
[ feature . welcome . content ]
"Welcome to the Server" = "This is the content of the first paragraph"
"Second paragraph heading" = "Second paragraph content"
2019-06-15 14:15:34 +02:00
# allow the bot owner to get debug stats
[ feature . debug ]
enabled = true
2019-06-10 13:03:18 +02:00
[ [ command ] ]
2019-06-08 13:03:33 +02:00
trigger = "!ping"
response = "pong"
2019-06-10 13:03:18 +02:00
[ [ command ] ]
2019-06-08 13:03:33 +02:00
trigger = "somewhere"
response = "found it"
2019-06-08 21:14:57 +02:00
matchType = "CONTAINS"
2019-06-10 13:03:18 +02:00
[ [ command ] ]
2019-06-08 21:52:30 +02:00
trigger = "A.+B"
response = "regex matched"
matchType = "REGEX"
2019-07-07 10:54:20 +02:00
[ [ command ] ]
trigger = "!embed"
embed = { "some embed heading" = "your embed content" }
2019-06-10 13:03:18 +02:00
[ [ command ] ]
2019-06-08 21:52:30 +02:00
trigger = "answer me"
# this will @mention the user who triggered the command,
# i.e. “@author there you go”
response = "@@ there you go"
2019-06-10 13:03:18 +02:00
[ [ command ] ]
2019-06-08 23:51:29 +02:00
trigger = "delet this"
2019-06-10 13:03:18 +02:00
[ command . action ]
delete = true
2019-06-08 23:51:29 +02:00
2019-06-10 13:03:18 +02:00
[ [ command ] ]
2019-06-09 01:04:00 +02:00
trigger = "!restricted"
response = "access granted"
2019-06-10 13:03:18 +02:00
[ command . permissions ]
2019-06-10 09:19:03 +02:00
hasOneOf = [
2019-06-12 23:43:36 +02:00
"452034011393425409" ,
"446668543816106004"
2019-06-09 01:04:00 +02:00
]
2019-06-10 13:03:18 +02:00
[ [ command ] ]
2019-06-10 09:19:03 +02:00
trigger = "!almostUnrestricted"
response = "access granted"
2019-06-10 13:03:18 +02:00
[ command . permissions ]
2019-06-12 23:43:36 +02:00
hasNoneOf = [ "452034011393425409" ]
2019-06-10 09:19:03 +02:00
2019-06-14 23:16:31 +02:00
[ [ command ] ]
trigger = "!private"
response = "some long response that you don’t want in public channels"
[ command . permissions ]
onlyDM = true
2019-06-09 18:41:51 +02:00
# redirect every message that starts with !redirect to channel 555097559023222825
2019-06-10 13:03:18 +02:00
[ [ command ] ]
2019-06-09 18:41:51 +02:00
trigger = "!redirect"
response = "redirected"
2019-06-10 13:03:18 +02:00
[ command . action . redirect ]
2019-06-12 23:43:36 +02:00
target = "testchannel"
2019-06-09 18:41:51 +02:00
# the same, but without the original username
2019-06-10 13:03:18 +02:00
[ [ command ] ]
2019-06-09 18:41:51 +02:00
trigger = "!anonRedirect"
response = "redirected"
2019-06-10 13:03:18 +02:00
[ command . action . redirect ]
2019-06-12 23:43:36 +02:00
target = "555097559023222825"
2019-06-10 13:03:18 +02:00
anonymous = true