From 1c083872d52e6ba36998ccb87ab203be89c9a5e9 Mon Sep 17 00:00:00 2001 From: Andre_601 Date: Thu, 8 Sep 2022 08:36:39 +0200 Subject: [PATCH] Add formats option for !color_animation (#26) --- pages/Custom Placeholders.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pages/Custom Placeholders.md b/pages/Custom Placeholders.md index e3f1462..3f5f7e5 100644 --- a/pages/Custom Placeholders.md +++ b/pages/Custom Placeholders.md @@ -252,7 +252,7 @@ The following types of custom placeholders are available: It has the following options: * ##### `effect` - + Can be one of `rainbow`, `uniformRainbow`, `random`, `wave`, `waveCenter` or `glitter`. * ##### `colors` @@ -268,12 +268,12 @@ The following types of custom placeholders are available: Needs to be specified for `wave`, `waveCenter` and `glitter`, but not the others. - * ##### `effectColor` + * ##### `effectColor` - Highlight color used for the animation. - A color can be a legacy color code such as `&a` or an rgb color such as `#012345`. + Highlight color used for the animation. + A color can be a legacy color code such as `&a` or an rgb color such as `#012345`. - Needs to be specified for `wave`, `waveCenter` and `glitter`, but not the others. + Needs to be specified for `wave`, `waveCenter` and `glitter`, but not the others. * ##### `distance` @@ -282,6 +282,10 @@ The following types of custom placeholders are available: * ##### `speed` Determines how fast the colors move through the text. Can be zero or negative to inverse the direction. + + * ##### `formats` + + Sets formatting codes that should be applied to the color animation. You have to provide valid formatting codes such as `&l` for bold or `&o` for italic. _Schema:_ ```yaml @@ -290,6 +294,7 @@ The following types of custom placeholders are available: colors: [, , ..., ] distance: speed: + formats: ``` _Example:_