Reputation managment.

This commit is contained in:
West14
2021-12-28 21:00:23 +02:00
parent b91d6cfdb5
commit 0112aea634
6 changed files with 87 additions and 10 deletions
@@ -3,7 +3,6 @@
using System;
using System.Threading.Tasks;
using BotFramework;
using JetBrains.Annotations;
using Kruzya.TelegramBot.Core.Data;
using Kruzya.TelegramBot.Core.Extensions;
using Telegram.Bot;
@@ -46,7 +45,7 @@ namespace West.TelegramBot.ChatManagement.Handler
{
await Bot.SendTextMessageAsync(
Chat.Id,
$"{From.ToHtml(false)} <code>заблокировал</code> {user.ToHtml(false)} <code>на 7 дней</code>",
$"{From.ToHtml()} <code>заблокировал</code> {user.ToHtml()} <code>на 7 дней</code>",
disableNotification: true, parseMode: ParseMode.Html);
}
}