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.

19 lines
394 B

using System;
namespace Discord.WebSocket
{
public abstract class SocketEntity<T> : IEntity<T>
where T : IEquatable<T>
{
internal DiscordSocketClient Discord { get; }
/// <inheritdoc />
public T Id { get; }
internal SocketEntity(DiscordSocketClient discord, T id)
{
Discord = discord;
Id = id;
}
}
}