Donators commands, removed message cache

This commit is contained in:
Master Kwoth
2016-02-10 15:43:44 +01:00
parent afe929430a
commit 4668985d26
6 changed files with 56 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ namespace NadekoBot.Classes {
_conn.CreateTable<TypingArticle>();
_conn.CreateTable<CurrencyState>();
_conn.CreateTable<CurrencyTransaction>();
_conn.CreateTable<Donator>();
_conn.Execute(Queries.TransactionTriggerQuery);
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NadekoBot.Classes._DataModels {
class Donator : IDataModel {
public long UserId { get; set; }
public string UserName { get; set; }
public int Amount { get; set; }
}
}