()
| 212 | } |
| 213 | |
| 214 | resetStats() { |
| 215 | this.stats.clear(); |
| 216 | this.cooldowns.clear(); |
| 217 | for (const cmd of this.commands.keys()) { |
| 218 | this.stats.set(cmd, { calls: 0, errors: 0, totalTime: 0n, avgMs: 0 }); |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | async reloadCommands() { |
| 223 | this.commands.clear(); |
nothing calls this directly
no outgoing calls
no test coverage detected