|
|
@@ -7,7 +7,8 @@ namespace Discord |
|
|
|
public static class Format |
|
|
|
{ |
|
|
|
// Characters which need escaping |
|
|
|
private static readonly string[] SensitiveCharacters = { "\\", "*", "_", "~", "`", "|", ">" }; |
|
|
|
private static readonly string[] SensitiveCharacters = { |
|
|
|
"\\", "*", "_", "~", "`", ".", ":", "/", ">", "|" }; |
|
|
|
|
|
|
|
/// <summary> Returns a markdown-formatted string with bold formatting. </summary> |
|
|
|
public static string Bold(string text) => $"**{text}**"; |
|
|
|