Refaction all files into component based folders
This commit is contained in:
parent
55e152f4aa
commit
e3adf55742
102 changed files with 816 additions and 709 deletions
13
Geekbot.net/Lib/UserRepository/IUserRepository.cs
Normal file
13
Geekbot.net/Lib/UserRepository/IUserRepository.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System.Threading.Tasks;
|
||||
using Discord.WebSocket;
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue