use koishi-plugin-rate-limit instead
Set Rate Limits for Commands in Koishi
./packages/koishi/readme.md