Przeglądaj źródła

Fix mute info messages name

ghorsington 4 lat temu
rodzic
commit
575eac6a2b
1 zmienionych plików z 1 dodań i 1 usunięć
  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;