This template can be used free of charge to any developer looking to make a bot. Though, it is designed for our systems!
This bot has been featured in
- SkyStats Discord
- SkyStats Account Shop
- Hyperbolic
- And more!
- pnpm installed
npm i pnpm -g - pm2 installed
npm i pm2 -g - node.js v20 with npm (windows, mac and linux tested)
-
extract the code
-
in the main directory of the package, create a file named
.envexactly like that -
open the file and add
TOKEN=placeholder (leave as is) PROD= This is where you put your production bot token DEV= this is where you put your dev testing token, use ^ if you dont have 2 bots ID=placeholder (leave as is) PRODID= The discord bot id matching the bot PROD= DEVID= the discord bot id matching the bot DEV= -
save the file and run the following scripts
npm run buildto build the dependencies (you can also usepnpm i)npm run devornpm run startto start the bot!- to debug simply type
node indexDEV.js - if everything works go to config.json and edit it to your liking!
- DuckySoLucky for their original template (it was missing multiple things)
- a few others
viewable in the LICENSE file, this LICENSE protects all work under skystats development
- 2.0.1 (LTS)