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 Client { get; } /// Gets the state of this object. ModelState State { get; } /// Deletes this object. Task Delete(); /// Downloads the latest values and updates this object. Task Update(); } }