fix: Fixed .ttt and gifted strings

docs: Updated changelog
dev: Updated some packages
This commit is contained in:
Kwoth
2024-05-14 18:36:33 +00:00
parent 869b9d3b9d
commit d51dfa88f1
5 changed files with 12 additions and 11 deletions

View File

@@ -466,7 +466,7 @@ public partial class Gambling : GamblingModule<GamblingService>
return;
}
await Response().Confirm(strs.gifted(N(amount), Format.Bold(receiver.ToString()))).SendAsync();
await Response().Confirm(strs.gifted(N(amount), Format.Bold(receiver.ToString()), ctx.User)).SendAsync();
}
[Cmd]
@@ -508,7 +508,7 @@ public partial class Gambling : GamblingModule<GamblingService>
}
await _cs.AddAsync(usr.Id, amount, new("award", ctx.User.ToString()!, msg, ctx.User.Id));
await Response().Confirm(strs.awarded(N(amount), $"<@{usrId}>")).SendAsync();
await Response().Confirm(strs.awarded(N(amount), $"<@{usrId}>", ctx.User)).SendAsync();
}
[Cmd]