- Download and install Git from https://git-scm.com/
- Download and install NodeJS from https://nodejs.org/
- Download and install TypeScript, open command prompt and run
npm install typescript@latest -g
- Clone this repository:
- Open command prompt, and run:
cd Desktop
git clone https://github.com/TF2Autobot/tf2autobot-giveawaybot.git --branch master
- Open command prompt, and run:
- Install npm packages by double click on the
install.bat
file. - Fill in
template.env
and rename it to.env
(must have view file extension enabled). - Once ready, run the bot by double clicking
start.bat
file.
- Download and install Git, run this on terminal:
sudo apt install git
- Download and install NodeJS, run:
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
- Install TypeScript:
sudo npm install typescript@latest -g
- Clone the bot:
git clone https://github.com/TF2Autobot/tf2autobot-giveawaybot.git
- Navigate to bot directory:
cd tf2autobot-giveawaybot
- Install npm packages and compile TypeScript codes:
npm install && npm run build
- Fill in
template.env
and rename it to.env
- Run the bot with
node dist/app.js
Join the TF2Autobot Discord server and head over to #🆚roles
channel and react to the first message to get notified whenever an update has been released!
**There are also giveaways held every Thursday, 8 AM - 8 PM (12 hours) Malaysia time!