| @@ -31,11 +31,11 @@ The following example creates a precondition to see if the user has | |||||
| sufficient role required to access the command. | sufficient role required to access the command. | ||||
| ```cs | ```cs | ||||
| public class RequireRoleAtribute : PreconditionAttribute | |||||
| public class RequireRoleAttribute : PreconditionAttribute | |||||
| { | { | ||||
| private readonly ulong _roleId; | private readonly ulong _roleId; | ||||
| public RequireRoleAtribute(ulong roleId) | |||||
| public RequireRoleAttribute(ulong roleId) | |||||
| { | { | ||||
| _roleId = roleId; | _roleId = roleId; | ||||
| } | } | ||||
| @@ -59,7 +59,7 @@ namespace Discord | |||||
| } | } | ||||
| /// <summary> Parses an <see cref="Emote"/> from its raw format. </summary> | /// <summary> Parses an <see cref="Emote"/> from its raw format. </summary> | ||||
| /// <param name="text">The raw encoding of an emote; for example, <:dab:277855270321782784>.</param> | |||||
| /// <param name="text">The raw encoding of an emote; for example, <:dab:277855270321782784>.</param> | |||||
| /// <returns>An emote.</returns> | /// <returns>An emote.</returns> | ||||
| /// <exception cref="ArgumentException">Invalid emote format.</exception> | /// <exception cref="ArgumentException">Invalid emote format.</exception> | ||||
| public static Emote Parse(string text) | public static Emote Parse(string text) | ||||
| @@ -70,7 +70,7 @@ namespace Discord | |||||
| } | } | ||||
| /// <summary> Tries to parse an <see cref="Emote"/> from its raw format. </summary> | /// <summary> Tries to parse an <see cref="Emote"/> from its raw format. </summary> | ||||
| /// <param name="text">The raw encoding of an emote; for example, <:dab:277855270321782784>.</param> | |||||
| /// <param name="text">The raw encoding of an emote; for example, <:dab:277855270321782784>.</param> | |||||
| /// <param name="result">An emote.</param> | /// <param name="result">An emote.</param> | ||||
| public static bool TryParse(string text, out Emote result) | public static bool TryParse(string text, out Emote result) | ||||
| { | { | ||||
| @@ -9,7 +9,7 @@ namespace Discord | |||||
| /// Returns a special string used to mention this object. | /// Returns a special string used to mention this object. | ||||
| /// </summary> | /// </summary> | ||||
| /// <returns> | /// <returns> | ||||
| /// A string that is recognized by Discord as a mention (e.g. <@168693960628371456>). | |||||
| /// A string that is recognized by Discord as a mention (e.g. <@168693960628371456>). | |||||
| /// </returns> | /// </returns> | ||||
| string Mention { get; } | string Mention { get; } | ||||
| } | } | ||||
| @@ -12,7 +12,7 @@ namespace Discord | |||||
| /// </summary> | /// </summary> | ||||
| string AvatarId { get; } | string AvatarId { get; } | ||||
| /// <summary> | /// <summary> | ||||
| /// Gets the URL to this user's avatar. | |||||
| /// Returns the URL to this user's avatar. | |||||
| /// </summary> | /// </summary> | ||||
| /// <param name="format">The format to return.</param> | /// <param name="format">The format to return.</param> | ||||
| /// <param name="size"> | /// <param name="size"> | ||||
| @@ -23,7 +23,7 @@ namespace Discord | |||||
| /// </returns> | /// </returns> | ||||
| string GetAvatarUrl(ImageFormat format = ImageFormat.Auto, ushort size = 128); | string GetAvatarUrl(ImageFormat format = ImageFormat.Auto, ushort size = 128); | ||||
| /// <summary> | /// <summary> | ||||
| /// Gets the URL to this user's default avatar. | |||||
| /// Returns the URL to this user's default avatar. | |||||
| /// </summary> | /// </summary> | ||||
| string GetDefaultAvatarUrl(); | string GetDefaultAvatarUrl(); | ||||
| /// <summary> | /// <summary> | ||||
| @@ -35,11 +35,11 @@ namespace Discord | |||||
| /// </summary> | /// </summary> | ||||
| ushort DiscriminatorValue { get; } | ushort DiscriminatorValue { get; } | ||||
| /// <summary> | /// <summary> | ||||
| /// Returns <see langword="true"/> if this user is a bot user. | |||||
| /// Gets <see langword="true"/> if this user is a bot user. | |||||
| /// </summary> | /// </summary> | ||||
| bool IsBot { get; } | bool IsBot { get; } | ||||
| /// <summary> | /// <summary> | ||||
| /// Returns <see langword="true"/> if this user is a webhook user. | |||||
| /// Gets <see langword="true"/> if this user is a webhook user. | |||||
| /// </summary> | /// </summary> | ||||
| bool IsWebhook { get; } | bool IsWebhook { get; } | ||||
| /// <summary> | /// <summary> | ||||