Skip to content

Commit

Permalink
Fix missing Username prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Still Hsu committed May 5, 2018
1 parent 3e59197 commit adae5ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Discord.Net.Core/Entities/Guilds/GuildProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace Discord
/// <summary>
/// Properties that are used to modify an <see cref="IGuild" /> with the specified changes.
/// </summary>
/// <see cref="IGuild.ModifyAsync" />
/// <see cref="IGuild.ModifyAsync"/>
public class GuildProperties
{
/// <summary>
Expand Down
1 change: 0 additions & 1 deletion src/Discord.Net.Rest/Entities/Guilds/GuildHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public static async Task<Model> ModifyAsync(IGuild guild, BaseDiscordClient clie
Icon = args.Icon.IsSpecified ? args.Icon.Value?.ToModel() : Optional.Create<ImageModel?>(),
Name = args.Name,
Splash = args.Splash.IsSpecified ? args.Splash.Value?.ToModel() : Optional.Create<ImageModel?>(),
Username = args.Username,
VerificationLevel = args.VerificationLevel
};

Expand Down

0 comments on commit adae5ff

Please sign in to comment.