17 lines
336 B
C#
17 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();
|
|
}
|
|
}
|
|
}
|