Browse Source

Fix mute info messages name

ghorsington 4 years ago
parent
commit
575eac6a2b
1 changed files with 1 additions and 1 deletions
  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;