rename mute/unmute to ignore/unignore and add CHAT_ADMIN requirement for them and ban/unban commands

This commit is contained in:
2026-01-22 14:36:14 +03:00
parent e475de59b2
commit 1493ffbe01
8 changed files with 55 additions and 25 deletions
+2 -1
View File
@@ -11,10 +11,11 @@ export class Ban extends ChatCommand {
description = "ban user from chat";
requirements = Requirements.Build(
Requirement.BOT_ADMIN,
Requirement.CHAT,
Requirement.CHAT_ADMIN,
Requirement.BOT_CHAT_ADMIN,
Requirement.REPLY,
Requirement.BOT_ADMIN
);
async execute(msg: Message) {