diff --git a/WizBot.Core/Services/Impl/CurrencyService.cs b/WizBot.Core/Services/Impl/CurrencyService.cs index d89b68ce0..2d79db923 100644 --- a/WizBot.Core/Services/Impl/CurrencyService.cs +++ b/WizBot.Core/Services/Impl/CurrencyService.cs @@ -38,7 +38,7 @@ private bool InternalChange(ulong userId, string userName, string discrim, strin var result = uow.DiscordUsers.TryUpdateCurrencyState(userId, userName, discrim, avatar, amount); if(result && gamble) { - var t2 = GetCurrencyTransaction(userId, reason, -amount); + var t2 = GetCurrencyTransaction(_bot.Id, reason, -amount); uow.CurrencyTransactions.Add(t2); uow.DiscordUsers.TryUpdateCurrencyState(_bot.Id, _bot.Username, _bot.Discriminator, _bot.AvatarId, -amount, true); } diff --git a/WizBot.sln b/WizBot.sln index 6038701ae..cee6b3b0e 100644 --- a/WizBot.sln +++ b/WizBot.sln @@ -7,7 +7,6 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0B2F1537-4BF0-422B-A0DD-8F9CCEFB340F}" ProjectSection(SolutionItems) = preProject WizBot.iss = WizBot.iss - Performance1.psess = Performance1.psess EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WizBot", "src\WizBot\WizBot.csproj", "{45EC1473-C678-4857-A544-07DFE0D0B478}"