diff --git a/modules/ChatManagement/Handler/Ban.cs b/modules/ChatManagement/Handler/Ban.cs index f931a5f..dc6a547 100644 --- a/modules/ChatManagement/Handler/Ban.cs +++ b/modules/ChatManagement/Handler/Ban.cs @@ -60,6 +60,7 @@ public class Ban : CommonHandler return; } + // TODO: in Telegram.Bot >=22.4.0 this could be replaced with new ChatPermissions(true) await Bot.RestrictChatMember(Chat.Id, RepliedUser!.Id, new ChatPermissions {