You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
using System;
|
|
|
|
namespace Discord.Rest
|
|
{
|
|
public abstract class RestEntity<T> : IEntity<T>
|
|
where T : IEquatable<T>
|
|
{
|
|
internal BaseDiscordClient Discord { get; }
|
|
public T Id { get; }
|
|
|
|
internal RestEntity(BaseDiscordClient discord, T id)
|
|
{
|
|
Discord = discord;
|
|
Id = id;
|
|
}
|
|
}
|
|
}
|