Port UserRepository and remove OW stuff
This commit is contained in:
parent
d2f31d0730
commit
15034d63a3
20 changed files with 176 additions and 328 deletions
|
@ -1,13 +1,12 @@
|
|||
using System.Threading.Tasks;
|
||||
using Discord.WebSocket;
|
||||
using Geekbot.net.Database.Models;
|
||||
|
||||
namespace Geekbot.net.Lib.UserRepository
|
||||
{
|
||||
public interface IUserRepository
|
||||
{
|
||||
Task<bool> Update(SocketUser user);
|
||||
UserRepositoryUser Get(ulong userId);
|
||||
string GetUserSetting(ulong userId, string setting);
|
||||
bool SaveUserSetting(ulong userId, string setting, string value);
|
||||
UserModel Get(ulong userId);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue