mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-17 23:25:02 +00:00
Include durations in mute and unmute case notes, clarify bot responses when updating an active mute
This commit is contained in:
parent
1b8ba58330
commit
bf0813886e
3 changed files with 52 additions and 26 deletions
|
@ -199,6 +199,10 @@ export function trimLines(str: string) {
|
|||
.trim();
|
||||
}
|
||||
|
||||
export function asSingleLine(str: string) {
|
||||
return trimLines(str).replace(/\n/g, " ");
|
||||
}
|
||||
|
||||
export const emptyEmbedValue = "\u200b";
|
||||
export const embedPadding = "\n" + emptyEmbedValue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue