浏览代码

Fix mute info messages name

ghorsington 4 年之前
父节点
当前提交
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;