Update default config to use role names instead of IDs

This commit is contained in:
kageru 2019-08-11 18:07:59 +02:00
parent f314c20dd8
commit 684926f1c5
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2

View File

@ -64,15 +64,15 @@ trigger = "!restricted"
response = "access granted" response = "access granted"
[command.permissions] [command.permissions]
hasOneOf = [ hasOneOf = [
"452034011393425409", "new role",
"446668543816106004" "another new role"
] ]
[[command]] [[command]]
trigger = "!almostUnrestricted" trigger = "!almostUnrestricted"
response = "access granted" response = "access granted"
[command.permissions] [command.permissions]
hasNoneOf = ["452034011393425409"] hasNoneOf = ["new role"]
[[command]] [[command]]
trigger = "!private" trigger = "!private"
@ -80,7 +80,7 @@ response = "some long response that you don’t want in public channels"
[command.permissions] [command.permissions]
onlyDM = true onlyDM = true
# redirect every message that starts with !redirect to channel 555097559023222825 # redirect every message that starts with !redirect to a channel called “testchannel”
[[command]] [[command]]
trigger = "!redirect" trigger = "!redirect"
response = "redirected" response = "redirected"
@ -92,7 +92,7 @@ target = "testchannel"
trigger = "!anonRedirect" trigger = "!anonRedirect"
response = "redirected" response = "redirected"
[command.action.redirect] [command.action.redirect]
target = "555097559023222825" target = "testchannel"
anonymous = true anonymous = true
[[command]] [[command]]
@ -122,4 +122,4 @@ feature = "setConfig"
[[command]] [[command]]
trigger = "!prison" trigger = "!prison"
feature = "timeout" feature = "timeout"