18 lines
336 B
C#
18 lines
336 B
C#
|
using System.Linq;
|
|||
|
|
|||
|
namespace Maki
|
|||
|
{
|
|||
|
internal sealed class UserManager : BaseManager<DiscordUser>
|
|||
|
{
|
|||
|
internal UserManager()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public DiscordUser Id(ulong id)
|
|||
|
{
|
|||
|
lock (Collection)
|
|||
|
return Collection.Where(x => x.Id == id).FirstOrDefault();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|