Browse Source

Merge pull request #497 from Confruggy/patch-3

Fixed Format.Sanitize
pull/449/merge
RogueException GitHub 8 years ago
parent
commit
3cf03fa7f8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Core/Format.cs

+ 1
- 1
src/Discord.Net.Core/Format.cs View File

@@ -3,7 +3,7 @@
public static class Format public static class Format
{ {
// Characters which need escaping // Characters which need escaping
private static string[] SensitiveCharacters = { "*", "_", "~", "`", "\\" };
private static 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}**";


Loading…
Cancel
Save