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