Browse Source

Fixed encoding error when requesting members

tags/1.0-rc
RogueException 8 years ago
parent
commit
c8db35cc4e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/API/Gateway/RequestMembersParams.cs

+ 1
- 1
src/Discord.Net/API/Gateway/RequestMembersParams.cs View File

@@ -13,7 +13,7 @@ namespace Discord.API.Gateway
public int Limit { get; set; }

[JsonProperty("guild_id")]
private ulong[] _guildIds;
private ulong[] _guildIds { get; set; }
public IEnumerable<ulong> GuildIds { set { _guildIds = value.ToArray(); } }
public IEnumerable<IGuild> Guilds { set { _guildIds = value.Select(x => x.Id).ToArray(); } }
}


Loading…
Cancel
Save