Donators commands, removed message cache
This commit is contained in:
@@ -20,6 +20,7 @@ namespace NadekoBot.Classes {
|
||||
_conn.CreateTable<TypingArticle>();
|
||||
_conn.CreateTable<CurrencyState>();
|
||||
_conn.CreateTable<CurrencyTransaction>();
|
||||
_conn.CreateTable<Donator>();
|
||||
_conn.Execute(Queries.TransactionTriggerQuery);
|
||||
}
|
||||
}
|
||||
|
13
NadekoBot/Classes/_DataModels/Donator.cs
Normal file
13
NadekoBot/Classes/_DataModels/Donator.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user