Renamed Format.Text to Format.Multiple
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Discord
|
||||
=> escape ? $"~~{Escape(text)}~~" : $"~~{text}~~";
|
||||
|
||||
/// <summary> Returns a markdown-formatted string with multiple formatting, optionally escaping the contents. </summary>
|
||||
public static string Text(string text, bool escape = true, bool bold = false, bool italics = false, bool underline = false, bool strikeout = false)
|
||||
public static string Multiple(string text, bool escape = true, bool bold = false, bool italics = false, bool underline = false, bool strikeout = false)
|
||||
{
|
||||
string result = text;
|
||||
if (escape) result = Escape(result);
|
||||
|
||||
Reference in New Issue
Block a user