I have no idea how to run this, could you please help?
asanehi opened this issue · 1 comments
Hey, I've 0 ts knowledge. This seems interesting to build open so could I know how to run and get around this?
Hi, no worries at all.
First of all, make sure you clone the repo. You can do that by clicking the "Download Zip" button. After downloading make sure you extract the files to another location:
Secondly, you're going to want to ensure you have Node 15+ installed on your computer. You can download it here if not.
After this you will need to make a file with the exact name of .env
in the location on your computer you extracted the files to. You need to fill in the values as specified in the readme:
# Discord bot token
TOKEN=
# Discord channel ID
CHANNEL=
After that, run npm install
, then run npm run build
and finally npm start
.
Note: if you use/have yarn installed, then prefer that over npm, since there this project is versioned with yarn