Browse Source

Fix missing Username prop

pull/1161/head
Still Hsu 7 years ago
parent
commit
adae5ffc9e
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      src/Discord.Net.Core/Entities/Guilds/GuildProperties.cs
  2. +0
    -1
      src/Discord.Net.Rest/Entities/Guilds/GuildHelper.cs

+ 1
- 1
src/Discord.Net.Core/Entities/Guilds/GuildProperties.cs View File

@@ -3,7 +3,7 @@ namespace Discord
/// <summary> /// <summary>
/// Properties that are used to modify an <see cref="IGuild" /> with the specified changes. /// Properties that are used to modify an <see cref="IGuild" /> with the specified changes.
/// </summary> /// </summary>
/// <see cref="IGuild.ModifyAsync" />
/// <see cref="IGuild.ModifyAsync"/>
public class GuildProperties public class GuildProperties
{ {
/// <summary> /// <summary>


+ 0
- 1
src/Discord.Net.Rest/Entities/Guilds/GuildHelper.cs View File

@@ -32,7 +32,6 @@ namespace Discord.Rest
Icon = args.Icon.IsSpecified ? args.Icon.Value?.ToModel() : Optional.Create<ImageModel?>(), Icon = args.Icon.IsSpecified ? args.Icon.Value?.ToModel() : Optional.Create<ImageModel?>(),
Name = args.Name, Name = args.Name,
Splash = args.Splash.IsSpecified ? args.Splash.Value?.ToModel() : Optional.Create<ImageModel?>(), Splash = args.Splash.IsSpecified ? args.Splash.Value?.ToModel() : Optional.Create<ImageModel?>(),
Username = args.Username,
VerificationLevel = args.VerificationLevel VerificationLevel = args.VerificationLevel
}; };




Loading…
Cancel
Save