This guide walks you through installing the old Strange Bot on a fresh Windows Server 2022 VPS, covering installation, firewall configuration, and background process setup. Follow each step exactly — no prior experience needed.
Go to nodejs.org and download the LTS version. Run the installer and make sure "Add to PATH" is checked.
Download Git for Windows from git-scm.com. Use all the default install options.
git clone https://github.com/saiteja-madha/discord-js-bot.git cd discord-js-bot npm installRename .env.example to .env and edit both .env and config.js:
Windows Server may block outbound traffic. Follow these steps to allow Node.js:
C:\Program Files\nodejs\node.exe🔒 This ensures your bot can respond to Discords's gateway.
In PowerShell or CMD, from your bot folder:
npm i✅ If everything's set up, proceed to step 7
In PowerShell or CMD, from your bot folder:
node index.js✅ If everything's set up, you’ll see your bot come online in Discord.
npm install -g pm2 pm2 start index.js pm2 save pm2 startup💡 This makes sure your bot auto-starts if the VPS reboots.
pm2 restart indexpm2 logspm2 stop indexNeed a fast, affordable, and beginner-friendly VPS to host your bot? We recommend using:
🌐 Breeze Host – Get Started NowAffiliate Disclosure: We may earn a small commission if you use our link — it helps support this project!
Disclaimer: This is based off of the US! Others may experience lag etc.