()
| 181 | })).sort((a, b) => b.usage - a.usage); |
| 182 | } |
| 183 | resetStats() { |
| 184 | this.stats.clear(); |
| 185 | this.cooldowns.clear(); |
| 186 | for (const cmd of this.commands.keys()) { |
| 187 | this.stats.set(cmd, { calls: 0, errors: 0, totalTime: 0n, avgMs: 0 }); |
| 188 | } |
| 189 | } |
| 190 | async reloadCommands() { |
| 191 | this.commands.clear(); |
| 192 | this.aliases.clear(); |
nothing calls this directly
no outgoing calls
no test coverage detected