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-07-11 20:14:22 +02:00
# If this is enable, every new user will receive a welcome message.
2019-06-12 23:43:36 +02:00
# 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 ]
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. :("
2019-07-12 14:08:22 +02:00
# This is a list of strings like [title1, content1, title2, content2, ...]
2019-06-12 23:43:36 +02:00
# Do not use empty strings to get empty headings or paragraphs. The discord API rejects those.
2019-07-12 14:08:22 +02:00
content = [
"Welcome to the Server" , "This is the content of the first paragraph" ,
"Second paragraph heading" , "Second paragraph content" ,
"3rd" , "aoisd" ,
"fourth" , "asasd" ,
"5th" , "asdasd"
]
2019-06-12 23:43:36 +02:00
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"
2019-07-12 14:08:22 +02:00
embed = [ "some embed heading" , "your embed content" ]
2019-07-07 10:54:20 +02:00
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
2019-07-11 21:05:35 +02:00
2019-07-11 22:16:02 +02:00
[ [ command ] ]
trigger = "!assign"
[ command . action . assign ]
role = "new role"
2019-07-11 21:05:35 +02:00
[ [ command ] ]
trigger = "!debug"
feature = "debug"
[ [ command ] ]
trigger = "!welcome"
feature = "welcome"
[ [ command ] ]
trigger = "!help"
feature = "help"
2019-07-14 17:14:23 +02:00
[ [ command ] ]
trigger = "!getConfig"
feature = "getConfig"
2019-07-14 17:27:43 +02:00
[ [ command ] ]
trigger = "!setConfig"
feature = "setConfig"