mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Update Dockerfile to build ContentStore. Fix success purchase message markup.
This commit is contained in:
@@ -117,7 +117,10 @@ public class Store : BotEventHandler
|
||||
}
|
||||
|
||||
await _reputation.IncrementReputationAsync(Chat, From, -storeItem.Price);
|
||||
await Bot.EditMessageTextAsync(Chat.Id, messageId, $"{From.ToHtml()} купил \"{storeItem.Name}\".");
|
||||
await Bot.EditMessageTextAsync(Chat.Id,
|
||||
messageId,
|
||||
$"{From.ToHtml()} купил \"{storeItem.Name}\".",
|
||||
ParseMode.Html);
|
||||
|
||||
var randomMedia = await mediaService!.GetRandomMediaAsync();
|
||||
var file = new InputOnlineFile(randomMedia.Url);
|
||||
|
||||
Reference in New Issue
Block a user