feat: add color option to starboard ()

Co-authored-by: Almeida <42935195+almeidx@users.noreply.github.com>
This commit is contained in:
vcokltfre 2021-04-02 14:42:25 +01:00 committed by GitHub
parent 2e50fa7630
commit fcbb25b7ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 2 deletions
backend/src/plugins/Starboard

View file

@ -57,6 +57,19 @@ export const StarboardPlugin = zeppelinGuildPlugin<StarboardPluginType>()("starb
stars_required: 5
~~~
### Basic starboard with custom color
Any message on the server that gets 5 star reactions will be posted into the starboard channel (604342689038729226), with the given color (0x87CEEB).
~~~yml
starboard:
config:
boards:
basic:
channel_id: "604342689038729226"
stars_required: 5
color: 0x87CEEB
~~~
### Custom star emoji
This is identical to the basic starboard above, but accepts two emoji: the regular star and a custom :mrvnSmile: emoji