perf: only allocate cacheableList once
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable CS1591
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -9,6 +9,6 @@ namespace Discord.API.Gateway
|
||||
[JsonProperty("channel_id")]
|
||||
public ulong ChannelId { get; set; }
|
||||
[JsonProperty("ids")]
|
||||
public IEnumerable<ulong> Ids { get; set; }
|
||||
public ulong[] Ids { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user