GioLogist / limit-bot-playground

Having a drink and teaching limit a trivial way to make a "bot". And how retailers can easily defend against it, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisites

  1. Download node https://nodejs.org/en/download/
  2. Open terminal.app and type git --version, which will either show a version or ask you to install. If it asks to install, follow.
  3. Verify both above installed by typing node --version (make sure it shows some kinda version). Then type git --version (make sure it shows some kinda version)

Initial Instructions

  1. Open terminal.app
  2. Go to your desktop, by going to cd ~/Desktop
  3. Clone this repo, by running git clone https://github.com/GioLogist/limit-bot-playground.git
  4. Go into the repo, cd limit-bot-playground
  5. Install "dependencies" (libraries that provide functions and shit your code needs), run npm i
  6. Open finder and go to Desktop > limit-bot-playground > index.js
  7. Edit the shitYoureCheckingFor variable, set it to w/e time is the next minute coming up
  8. Now run your script, run node index.js and you should see notifications telling you what's happening. It'll take 10 seconds and run every 10 seconds after
  9. Optional Download vscode and open the limit-bot-playground.

Forever instructions

  1. Open terminal.app
  2. Go to this project/repo folder cd ~/Desktop/limit-bot-playground
  3. Optional Update the code git pull -r
  4. Run the script node index.js
  5. Get creative, break it, edit all the variables, fuck it up. Put it back together. Worst case, just delete the folder and repeat initial instructions.

Things to look out for

  • Whenever running node index.js, make sure you're already in the repo folder (limit-bot-playground). You can ensure this by typing cd ~/Desktop/limit-bot-playground in terminal

  • If you get an error, GOOGLE THE ERROR. That's half the battle

About

Having a drink and teaching limit a trivial way to make a "bot". And how retailers can easily defend against it, etc.


Languages

Language:JavaScript 100.0%