Add GuildSettingsManager to centrally manage guild settings
This commit is contained in:
parent
83dc2c8e49
commit
fb676e8918
6 changed files with 138 additions and 100 deletions
|
@ -0,0 +1,11 @@
|
|||
using System.Threading.Tasks;
|
||||
using Geekbot.net.Database.Models;
|
||||
|
||||
namespace Geekbot.net.Lib.GuildSettingsManager
|
||||
{
|
||||
public interface IGuildSettingsManager
|
||||
{
|
||||
GuildSettingsModel GetSettings(ulong guildId, bool createIfNonExist = true);
|
||||
Task UpdateSettings(GuildSettingsModel settings);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue