pub fn escape_strikethrough(text: &str) -> Cow<'_, str>Expand description
Escapes only ~~ in text (EscapeOptions::strikethrough).
discord.js counterpart: escapeStrikethrough.
ยงExamples
assert_eq!(djs_formatters::escape_strikethrough("~~a~~ ~b"), r"\~\~a\~\~ ~b");