diff --git a/src/Discord.Net.Core/Entities/Roles/IRole.cs b/src/Discord.Net.Core/Entities/Roles/IRole.cs index dcfc89cc6..66556fc2c 100644 --- a/src/Discord.Net.Core/Entities/Roles/IRole.cs +++ b/src/Discord.Net.Core/Entities/Roles/IRole.cs @@ -69,16 +69,10 @@ namespace Discord /// /// Modifies this role. /// - /// - /// - /// await role.ModifyAsync(x => - /// { - /// x.Name = "Sonic"; - /// x.Color = new Color(0x1A50BC); - /// x.Mentionable = true; - /// }); - /// - /// + /// + /// This method modifies this role with the specified properties. To see an example of this + /// method and what properties are available, please refer to . + /// /// A delegate containing the properties to modify the role with. /// The options to be used when sending the request. /// diff --git a/src/Discord.Net.Core/Entities/Roles/RoleProperties.cs b/src/Discord.Net.Core/Entities/Roles/RoleProperties.cs index df23cf7b1..a58112b28 100644 --- a/src/Discord.Net.Core/Entities/Roles/RoleProperties.cs +++ b/src/Discord.Net.Core/Entities/Roles/RoleProperties.cs @@ -3,6 +3,18 @@ namespace Discord /// /// Properties that are used to modify an with the specified changes. /// + /// + /// The following example modifies the role to a mentionable one, renames the role into Sonic, and + /// changes the color to a light-blue. + /// + /// await role.ModifyAsync(x => + /// { + /// x.Name = "Sonic"; + /// x.Color = new Color(0x1A50BC); + /// x.Mentionable = true; + /// }); + /// + /// /// public class RoleProperties {