- NodeJS
- Server Mariadb/MySQL
- Datacenter/Residentiel Proxy
- Optionnel:
- PM2
- Use script
- On Linux:
./install.sh
- On Windows:
./install.bat
- On Linux:
- Create a User with all privileges in your database and put the credentials in
Database/index.ts
. - Compilate folder
- On Linux:
./compilate.sh
- On Windows:
./compilate.bat
- On Linux:
- Run
npm start
inAPI
folder- Using PM2:
pm2 start dist --name "API"
- Using PM2:
- Use
runClient.sh
inClient
folder to run the client- Example:
./runClient.sh IdOfBot Token
- You can also use
runClient.bat IdOfBot Token
on Windows- Using node directly:
node dist/Client/Client.js Token
- Using node directly:
- Example:
- Configure your proxy in
ips-data_center.json
- Example:
[
"IP:PORT:USER:PASSWORD",
"IP:PORT:USER:PASSWORD",
...
]
- Edit file
Client/config.ts
to setREDIRECTION_URI
- Example:
http://localhost:3000/callback
- Example:
http://IP:3000/callback
- Example:
http://DOMAIN:3000/callback
- Example:
http://DOMAIN/callback
- Example:
- Got in discord developer portal and create a new application
- Check All Privilege Intents
- Go in
OAuth2
->General
and fill theRedirects
field with the link of your API- Exemple:
http://localhost:3000/callback
- Exemple:
http://IP:3000/callback
- Exemple:
http://DOMAIN:3000/callback
- Exemple:
http://DOMAIN/callback
- Exemple:
- Start the routine with
node dist/Routine
inRoutine
folder- Using PM2:
pm2 start dist/Routine/Routine.js --name "Routine"
- Using PM2: