This is a Simple Moderation Bot made by ItsNoah#3408 you can use it on VSC, Glitch, or Replit. Replit will have a different version of using the bot so make sure to read the instructions below. Please make sure to leave credits and support my future projects! THanks
Replit automatically has the node.js version set to @12.5, so we are gonna have to change that. Please follow the instructions below.
Inside your project on the right-hand side, you have a console, and a shell, you want to click on the "Shell", and copy/pate in the following.
Note: This is a terminal, control c + control v does not work, you need to click it then 2 click it and copy and paste it in that way.
npm init -y && npm i --save-dev node@16 && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH- Create the
.replitto execute node from the shell instead of the console.
run="npm start"
- Make sure to add the start script in your package.json file
"scripts": {
"start": "node ."
}