discord-kagebot/src/main/resources/config.toml

44 lines
898 B
TOML
Raw Normal View History

2019-06-08 11:07:52 +02:00
[system]
serverId = "356414885292277771"
2019-06-09 01:04:00 +02:00
[localization]
permissionDenied = "You do not have permission to use this command."
2019-06-08 13:03:33 +02:00
[[commands]]
trigger = "!ping"
response = "pong"
[[commands]]
trigger = "somewhere"
response = "found it"
2019-06-08 21:14:57 +02:00
matchType = "CONTAINS"
[[commands]]
trigger = "A.+B"
response = "regex matched"
matchType = "REGEX"
[[commands]]
trigger = "answer me"
# this will @mention the user who triggered the command,
# i.e. “@author there you go”
response = "@@ there you go"
2019-06-08 23:51:29 +02:00
[[commands]]
trigger = "delet this"
deleteMessage = true
2019-06-09 01:04:00 +02:00
[[commands]]
trigger = "!restricted"
response = "access granted"
# a user needs *one of* these roles to trigger the command
neededRoles = [
452034011393425409,
446668543816106004
]
2019-06-08 21:14:57 +02:00
[[commands]]
trigger = "^[^`]*([()|DoOvVcC][-=^']?;|;[-=^']?[()|DoOpPvVcC3]|:wink:|😉)[^`]*$"
response = "@@ Oboe!"
matchType = "REGEX"
deleteMessage = true