using System; using System.Threading.Tasks; namespace Discord { public interface IEntity : IEntity { /// Gets the unique identifier for this object. TId Id { get; } } public interface IEntity { /// Gets the DiscordClient that manages this object. DiscordClient Discord { get; } /// Gets the state of this object. EntityState State { get; } /// Downloads the latest values and updates this object. Task Update(); } }