Port !owner, !admin, !mod, handlers (partial) and add globals to the db
This commit is contained in:
parent
37ac7f56a8
commit
bb8aee1eda
10 changed files with 265 additions and 174 deletions
11
Geekbot.net/Lib/GlobalSettings/IGlobalSettings.cs
Normal file
11
Geekbot.net/Lib/GlobalSettings/IGlobalSettings.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
using Geekbot.net.Database.Models;
|
||||
|
||||
namespace Geekbot.net.Lib.GlobalSettings
|
||||
{
|
||||
public interface IGlobalSettings
|
||||
{
|
||||
bool SetKey(string keyName, string value);
|
||||
string GetKey(string keyName);
|
||||
GlobalsModel GetKeyFull(string keyName);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue