Clone of Quadnite Bot with privacy mode enabled.
Go to file
Ceda EI 7ea30c8c71 Merge branch 'main' of https://gitlab.com/ceda_ei/Quadnite-Bot 2024-09-30 10:52:54 +05:30
commands Merge branch 'main' of https://gitlab.com/ceda_ei/Quadnite-Bot 2024-09-30 10:08:02 +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