Woops, shop item purchase fix

This commit is contained in:
Kwoth 2017-04-08 17:47:32 +02:00
parent e8bfb869b3
commit b3f6b4473b

View File

@ -151,7 +151,7 @@ namespace NadekoBot.Modules.Gambling
.AddField(efb => efb.WithName(GetText("name")).WithValue(entry.Name).WithIsInline(true)))
.ConfigureAwait(false);
await CurrencyHandler.AddCurrencyAsync(Context.User.Id,
await CurrencyHandler.AddCurrencyAsync(entry.AuthorId,
$"Shop error refund - {entry.Name}",
GetProfitAmount(entry.Price)).ConfigureAwait(false);
}