using System; namespace Discord.Rest { public abstract class RestEntity : IEntity where T : IEquatable { internal BaseDiscordClient Discord { get; } public T Id { get; } internal RestEntity(BaseDiscordClient discord, T id) { Discord = discord; Id = id; } } }