.give will send dms again

This commit is contained in:
Kwoth
2022-04-27 00:36:27 +02:00
parent 0f68abcac9
commit 24a9a02cc3
4 changed files with 19 additions and 10 deletions

View File

@@ -339,7 +339,7 @@ public partial class Gambling : GamblingModule<GamblingService>
return;
}
if (!await _cs.TransferAsync(ctx.User.Id, receiver.Id, amount, ctx.User.ToString(), msg))
if (!await _cs.TransferAsync(_eb, ctx.User, receiver, amount, msg))
{
await ReplyErrorLocalizedAsync(strs.not_enough(CurrencySign));
return;