Performance improvements. Timely command almost done
This commit is contained in:
@ -30,6 +30,8 @@ namespace NadekoBot.Core.Services.Database.Models
|
||||
public float Betroll67Multiplier { get; set; } = 2;
|
||||
public float Betroll91Multiplier { get; set; } = 4;
|
||||
public float Betroll100Multiplier { get; set; } = 10;
|
||||
public int TimelyCurrency { get; set; } = 0;
|
||||
public int TimelyCurrencyPeriod { get; set; } = 0;
|
||||
//public HashSet<CommandCost> CommandCosts { get; set; } = new HashSet<CommandCost>();
|
||||
|
||||
/// <summary>
|
||||
|
19
NadekoBot.Core/Services/Database/Models/Poll.cs
Normal file
19
NadekoBot.Core/Services/Database/Models/Poll.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using NadekoBot.Common.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Core.Services.Database.Models
|
||||
{
|
||||
public class Poll
|
||||
{
|
||||
public ulong GuildId { get; set; }
|
||||
public string Question { get; set; }
|
||||
public IndexedCollection<PollAnswer> Answers { get; set; }
|
||||
public HashSet<PollVote> Votes { get; set; }
|
||||
}
|
||||
|
||||
public class PollAnswer : IIndexed
|
||||
{
|
||||
public int Index { get; set; }
|
||||
public string Text { get; set; }
|
||||
}
|
||||
}
|
13
NadekoBot.Core/Services/Database/Models/PollVote.cs
Normal file
13
NadekoBot.Core/Services/Database/Models/PollVote.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.Core.Services.Database.Models
|
||||
{
|
||||
public class PollVote
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user