Explorar o código

Fix mute info messages name

ghorsington %!s(int64=4) %!d(string=hai) anos
pai
achega
575eac6a2b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;