Gjum / Gjum/CivRelay

SnitchCord compatible message formatting

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

https://github.com/Gjum/Snitchcord/blob/8dd5a0e26c2a7c3b8d1942c5f8d3b8dccfd10e7a/README.md#optionals

> #### Optionals
> You can put colons around optional format keys (`nonEnter`, `nonWorld`, etc.) that you'd like to be formatted only when they are shown.
> For example, upon a snitch entry event, the output for alert format
> `{"content":" @@ at "}`
> would be `PLAYER @@ at SNITCHNAME`, which probably isn't what you want.
> Instead, you can do
> `{"content":"< @:nonEnter:@> at "}`
> which would result in `PLAYER at SNITCHNAME`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.