Add locks to starboard and include example of level-only starring (#125)

This commit is contained in:
Nils 2020-12-20 17:32:24 +01:00 committed by GitHub
parent adc8959836
commit b2a53b0722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View file

@ -88,6 +88,25 @@ export const StarboardPlugin = zeppelinGuildPlugin<StarboardPluginType>()("starb
basic:
enabled: true
~~~
### Limit starboard to a specific level (and above)
This is identical to the basic starboard above, but only works for a specific level (>=50).
~~~yml
starboard:
config:
boards:
levelonly:
enabled: false # The starboard starts disabled and is then enabled in a level override below
channel_id: "604342689038729226"
stars_required: 1
overrides:
- level: ">=50"
config:
boards:
levelonly:
enabled: true
~~~
`),
},