|
@@ -46,10 +46,11 @@ namespace CardCollector.Commands.CallbackQuery
|
|
|
if (offerSpecial && !offerInfinite)
|
|
|
await SpecialOfferUsersDao.AddNew(User.Id, module.SelectedPosition.Id);
|
|
|
var packId = module.SelectedPosition?.PackId ?? module.SelectedPack?.Id ?? 1;
|
|
|
+ var packInfo = await PacksDao.GetById(packId);
|
|
|
var userPack = await UserPacksDao.GetOne(User.Id, packId);
|
|
|
userPack.Count += module.SelectedPosition?.Count ?? module.Count;
|
|
|
if (module.SelectedPosition?.AdditionalPrize != "") await GivePrize(module.SelectedPosition?.AdditionalPrize);
|
|
|
- await MessageController.EditMessage(User, $"{Messages.thanks_for_buying} {userPack.Count}",
|
|
|
+ await MessageController.EditMessage(User, $"{Messages.thanks_for_buying} {userPack.Count} {Text.packs} {packInfo.Author}",
|
|
|
offerSpecial && !offerInfinite || (module.SelectedPosition?.Expired ?? false) || !canBuy
|
|
|
? Keyboard.BackKeyboard
|
|
|
: Keyboard.RepeatCommand(Text.buy_more, CallbackData));
|