ghorsington 4 лет назад
Родитель
Сommit
575eac6a2b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bot/src/plugins/violation.ts

+ 1 - 1
bot/src/plugins/violation.ts

@@ -145,7 +145,7 @@ export class ViolationPlugin {
     })
     async muteUser({ message }: ICommandData): Promise<void> {
         await tryDo(message.delete());
-        const info = await this.parseCommand(message);
+        const info = await this.parseCommand(message, "mute");
         if (!info.ok)
             return;