Woops, shop item purchase fix
This commit is contained in:
parent
e8bfb869b3
commit
b3f6b4473b
@ -151,7 +151,7 @@ namespace NadekoBot.Modules.Gambling
|
|||||||
.AddField(efb => efb.WithName(GetText("name")).WithValue(entry.Name).WithIsInline(true)))
|
.AddField(efb => efb.WithName(GetText("name")).WithValue(entry.Name).WithIsInline(true)))
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
|
|
||||||
await CurrencyHandler.AddCurrencyAsync(Context.User.Id,
|
await CurrencyHandler.AddCurrencyAsync(entry.AuthorId,
|
||||||
$"Shop error refund - {entry.Name}",
|
$"Shop error refund - {entry.Name}",
|
||||||
GetProfitAmount(entry.Price)).ConfigureAwait(false);
|
GetProfitAmount(entry.Price)).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user