diff --git a/ChaosBot/ChaosBot.csproj b/ChaosBot/ChaosBot.csproj index 7d74f09..44ff430 100644 --- a/ChaosBot/ChaosBot.csproj +++ b/ChaosBot/ChaosBot.csproj @@ -8,6 +8,7 @@ + diff --git a/ChaosBot/ChaosBotSQL.db b/ChaosBot/ChaosBotSQL.db new file mode 100644 index 0000000..314a8dd Binary files /dev/null and b/ChaosBot/ChaosBotSQL.db differ diff --git a/ChaosBot/Controllers/Database.cs b/ChaosBot/Controllers/Database.cs new file mode 100644 index 0000000..b5100c5 --- /dev/null +++ b/ChaosBot/Controllers/Database.cs @@ -0,0 +1,13 @@ +namespace ChaosBot.Controllers +{ + public class Database + { + + } + + public class Raffle + { + private int _id; + private ulong userId; + } +} \ No newline at end of file diff --git a/ChaosBot/Discord/Modules/RaffleSystem.cs b/ChaosBot/Discord/Modules/RaffleSystem.cs index 6861553..968c1fd 100644 --- a/ChaosBot/Discord/Modules/RaffleSystem.cs +++ b/ChaosBot/Discord/Modules/RaffleSystem.cs @@ -139,8 +139,8 @@ namespace ChaosBot.Discord.Modules private void ClearRaffle(StringBuilder sb, bool noOutput = false) { - _currentPot = new Dictionary(); - + _currentPot.Clear(); + if (noOutput) return; sb.AppendLine($"{Context.User.Mention} has cleared all rafflepoints");