Clone of Quadnite Bot with privacy mode enabled.
Go to file
Ceda EI cd374090f2 Merge branch 'feat/ratelimit' into 'main'
feat: add rate limiter middleware

See merge request ceda_ei/Quadnite-Bot!4
2024-09-30 05:22:36 +00:00
commands Fix crash on failing to send gif 2024-09-30 10:05:45 +05:30
data Add /suggest to upload gifs to ugoki api server 2021-09-27 21:36:21 +05:30
static Fix typos 2024-02-06 18:16:42 +05:30
.eslintrc.js Add eslintrc. Update gitignore. 2019-02-11 00:45:45 +05:30
.gitignore Add /suggest to upload gifs to ugoki api server 2021-09-27 21:36:21 +05:30
LICENSE Added LICENSE 2018-03-31 11:19:15 +05:30
README.md feat: add rate limiter middleware 2024-09-30 10:39:07 +05:30
bot.js feat: add rate limiter middleware 2024-09-30 10:39:07 +05:30
package-lock.json feat: add rate limiter middleware 2024-09-30 10:39:07 +05:30
package.json feat: add rate limiter middleware 2024-09-30 10:39:07 +05:30

README.md

Quadnite-Bot

Source code for @quadnite_bot

Running your own instance

Quadnite bot depends on Ugoki for providing roleplay gifs. Once you have an instance of Ugoki (and optionally Ugoki Frontend) running:

  • Clone this repo
  • npm install
  • export BOT_API_KEY="your-token-for-bot"
  • export FEEDBACK_ID="chat-id-where-feedback-is-forwarded-to"
  • export UGOKI_ROOT="https://root.of.ugoki.api/server/"
  • export RATE_TIMEFRAME=5000 # rate limit time interval in milliseconds
  • export RATE_LIMIT=5 # number of requests allowed in the timeframe
  • npm start