Browse Source

Moved features and emojis from ExtendedGuild to Guild

tags/docs-0.9
RogueException 9 years ago
parent
commit
779ee46489
2 changed files with 5 additions and 6 deletions
  1. +0
    -6
      src/Discord.Net/API/Client/Common/ExtendedGuild.cs
  2. +5
    -0
      src/Discord.Net/API/Client/Common/Guild.cs

+ 0
- 6
src/Discord.Net/API/Client/Common/ExtendedGuild.cs View File

@@ -24,11 +24,5 @@ namespace Discord.API.Client
public bool IsLarge { get; set; }
[JsonProperty("unavailable")]
public bool? Unavailable { get; set; }

//Unknown
[JsonProperty("features")]
public object Features { get; set; }
[JsonProperty("emojis")]
public object Emojis { get; set; }
}
}

+ 5
- 0
src/Discord.Net/API/Client/Common/Guild.cs View File

@@ -24,7 +24,12 @@ namespace Discord.API.Client
public string Region { get; set; }
[JsonProperty("roles")]
public Role[] Roles { get; set; }

[JsonProperty("splash")]
public object Splash { get; set; }
[JsonProperty("features")]
public object Features { get; set; }
[JsonProperty("emojis")]
public object Emojis { get; set; }
}
}

Loading…
Cancel
Save