diff --git a/Dockerfile b/Dockerfile index 167e1dc..64ae22a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ COPY ./modules/Entertainment/*.csproj ./modules/Entertainment/ COPY ./modules/UserGroupTag/*.csproj ./modules/UserGroupTag/ COPY ./modules/ChatQuotes/*.csproj ./modules/ChatQuotes/ COPY ./modules/Reputation/*.csproj ./modules/Reputation/ +COPY ./modules/ContentStore/*.csproj ./modules/ContentStore/ RUN dotnet restore Kruzya.TelegramBot.sln # Copy all project files diff --git a/modules/ContentStore/Handler/Store.cs b/modules/ContentStore/Handler/Store.cs index 51b33b1..fd13cde 100644 --- a/modules/ContentStore/Handler/Store.cs +++ b/modules/ContentStore/Handler/Store.cs @@ -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);