Linux (ubuntu)
1° Update ubuntu
sudo apt update && sudo apt upgrade
2° Install Node.js
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash - sudo apt-get install -y nodejs
3° Install dependencies
npm install --production --force
4° Setting the bot
-
cd src/config
-
mv main.example.js main.js
-
vim main.js
-
Press the key
i
-
Fill in all empty fields
-
Press the key
ESC
-
Type in keyboard
:wq
-
Press
Enter
5° Starting
npm start
Windows 10
1° Install Node.js
https://nodejs.org/dist/v14.17.5/node-v14.17.5-x64.msi
2° Install dependencies
- Unzip
- run
install.bat
file
3° Setting the bot
- Navigate to
src/config
- Rename the
main.example.js
file tomain.js
- Open the
main.js
file - Fill in all empty fields
4° Starting
- run
start.bat
file