()
| 106 | for (const timer of this.pendingTimeouts) { |
| 107 | clearTimeout(timer); |
| 108 | } |
| 109 | this.pendingTimeouts.clear(); |
| 110 | } |
| 111 | |
| 112 | // 获取默认配置规则 |
| 113 | private getDefaultRules(): CommandRule[] { |
| 114 | return [ |
| 115 | // 10秒删除的命令 |
| 116 | { command: "lang", delay: 10 }, |
| 117 | { command: "alias", delay: 10 }, |