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

44 lines
898 B
TOML

[system]
serverId = "356414885292277771"
[localization]
permissionDenied = "You do not have permission to use this command."
[[commands]]
trigger = "!ping"
response = "pong"
[[commands]]
trigger = "somewhere"
response = "found it"
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"
[[commands]]
trigger = "delet this"
deleteMessage = true
[[commands]]
trigger = "!restricted"
response = "access granted"
# a user needs *one of* these roles to trigger the command
neededRoles = [
452034011393425409,
446668543816106004
]
[[commands]]
trigger = "^[^`]*([()|DoOvVcC][-=^']?;|;[-=^']?[()|DoOpPvVcC3]|:wink:|😉)[^`]*$"
response = "@@ Oboe!"
matchType = "REGEX"
deleteMessage = true