use message ratelimiter
This commit is contained in:
parent
3f0a1cbd01
commit
57f3b9c9fb
3 changed files with 6 additions and 5 deletions
|
@ -13,7 +13,7 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@janderedev/revolt.js": "^6.0.0-rc.21",
|
||||
"@janderedev/revolt.js": "^6.0.0-rc.21-patch.1",
|
||||
"@types/monk": "^6.0.0",
|
||||
"axios": "^0.22.0",
|
||||
"dayjs": "^1.10.7",
|
||||
|
|
|
@ -24,6 +24,7 @@ let client = new AutomodClient({
|
|||
fixReplyCrash: true,
|
||||
messageTimeoutFix: true,
|
||||
apiURL: process.env.API_URL,
|
||||
messageRateLimiter: true,
|
||||
}, db);
|
||||
login(client);
|
||||
|
||||
|
|
|
@ -47,10 +47,10 @@
|
|||
axios "^0.26.1"
|
||||
openapi-typescript "^5.2.0"
|
||||
|
||||
"@janderedev/revolt.js@^6.0.0-rc.21":
|
||||
version "6.0.0-rc.21"
|
||||
resolved "https://registry.yarnpkg.com/@janderedev/revolt.js/-/revolt.js-6.0.0-rc.21.tgz#0629700cd78d0f7db5f4707dc7a8f5ba67482e1a"
|
||||
integrity sha512-uLFXrv6ZjLJ+e9keevv0sUeZY8gDw3RfSg07LNYVUfqi1T64WwmZypz3zc2kTacbfthIgI368K2e6f3q4toc4Q==
|
||||
"@janderedev/revolt.js@^6.0.0-rc.21-patch.1":
|
||||
version "6.0.0-rc.21-patch.1"
|
||||
resolved "https://registry.yarnpkg.com/@janderedev/revolt.js/-/revolt.js-6.0.0-rc.21-patch.1.tgz#d69ac2c084c8c8869d7139a93dfd37cd0c26d891"
|
||||
integrity sha512-eJDYkJDEOFAIjINfghzMARkY00kOPBbmO7u6eTnryDIfzb004Lbm2fhrwID809q/Cfo1sJ6iKKX2XUMcIUCqOg==
|
||||
dependencies:
|
||||
"@insertish/exponential-backoff" "3.1.0-patch.2"
|
||||
"@insertish/isomorphic-ws" "^4.0.1"
|
||||
|
|
Loading…
Reference in a new issue