[cm & ci] Send message on user unban. Trigger redeploy in CI.

This commit is contained in:
West14
2022-04-08 15:53:34 +03:00
parent 6b49ecb4d9
commit 166363cd50
2 changed files with 11 additions and 1 deletions
+3
View File
@@ -5,6 +5,7 @@ using BotFramework.Attributes;
using BotFramework.Enums;
using Kruzya.TelegramBot.Core;
using Kruzya.TelegramBot.Core.Data;
using Kruzya.TelegramBot.Core.Extensions;
using Telegram.Bot;
using Telegram.Bot.Types;
@@ -39,5 +40,7 @@ public class Ban : CommonHandler
CanSendOtherMessages = true,
CanAddWebPagePreviews = true
});
await Reply($"{From.ToHtml()} <code>разблокировал</code> {RepliedUser!.ToHtml()}");
}
}