Color Management - rpg-sage-creative/rpg-sage GitHub Wiki
Color Management
RPG Sage uses Discord embeds for a lot of its replies and interactions. Discord embeds include a color bar on their left side. RPG Sage is able to set the color of that bar when posting a message.
RPG Sage has default colors it uses for each type of message it can post. Each Server that uses RPG Sage is able to override these color choices for all messages on their Server. Each Game that uses RPG Sage is able to override these color choices for all messages in that Game. Thus, RPG Sage checks the Game (if one exists) for the needed Color before checking the Server before using the default Color. There are other ways to change the embed Color further, such as Character Dialog.
When the commands below are used inside a Game Channel, they are accessing the Game's colors. When the commands are used outside a Game Channel, they are accessing the Server's colors.
To see the entire list of Colors used by RPG Sage, simply use the color list
command below.
Some Common Color Types:
Dice
for dice resultsGameMaster
for dialog posted usinggm::
NonPlayerCharacter
for dialog posted usingnpc::
PlayerCharacter
for dialog posted usingpc::
Color values are expected to be in hexidecimal format, such as #FF00AA
.
Get Color
Example:
sage! color get type="Dice"
You may also specify multiples:
sage! color get Dice GameMaster
Set Color
Example:
sage! color set type="GameMaster" color="#FF00FF"
You may also specify multiples:
sage! color set Dice="#FF0000" GameMaster="#FF00FF"
Unset (Reset) Color
Example:
sage! color unset type="GameMaster"
You may also specify multiples:
sage! color unset Dice GameMaster
List All Colors
Example:
sage! color list
Sync (Reset) All Colors
Example:
sage! color sync