diff --git a/src/Discord.Net.Core/Utils/Cacheable.cs b/src/Discord.Net.Core/Utils/Cacheable.cs index ff63e4c69..48af580d9 100644 --- a/src/Discord.Net.Core/Utils/Cacheable.cs +++ b/src/Discord.Net.Core/Utils/Cacheable.cs @@ -20,7 +20,7 @@ namespace Discord /// /// The ID of this entity. /// - public ulong Id { get; } + public TId Id { get; } /// /// The entity, if it could be pulled from cache. /// @@ -30,7 +30,7 @@ namespace Discord public TEntity Value { get; } private Func> DownloadFunc { get; } - internal Cacheable(TEntity value, ulong id, Func> downloadFunc) + internal Cacheable(TEntity value, TId id, Func> downloadFunc) { Value = value; Id = id;