Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Latest commit

 

History

History
68 lines (50 loc) · 1.37 KB

README.md

File metadata and controls

68 lines (50 loc) · 1.37 KB

Place 2022 skončilo, uvidíme se příště 👋

Reddit /r/place 2022 headless bot

This headless Python bot will automatically login to reddit, obtain access tokens (and refreshes them when they expire), obtain orders from the C&C server and automatically place pixels at the desired locations.

Installation and usage

First install the package:

pip install place_cz_bot

... then run it ...

place_cz_bot -u reddit_username reddit_password

or if you have more than one account...

place_cz_bot -u uname_a pw_a -e uname_b pw_b

Dev Installation

  1. Clone the repo
    • If using SSH git clone git@github.com:PlaceCZ/PythonBot.git
    • Else: git clone https://github.com/PlaceCZ/PythonBot.git
  2. CD into it cd Pythonbot
  3. Create Virtual Environment
    • Win: py -m venv venv
    • *nix: python -m venv venv
  4. Activate venv
    • Win: venv\Scripts\activate
    • *nix: source ./venv/bin/activate
  5. python -m pip install -e .
  6. place_cz_bot
  7. That's it!

Usage

If venv not running

  • Win: venv\Scripts\activate
  • *nix: source ./venv/bin/activate

Start bot

place_cz_bot -u "USERNAME" "PASSWORD"

The bot supports multiple users:

place_cz_bot -u "USERNAME1" "PASSWORD1" -u "USERNAME2" "PASSWORD2"

Requirements

  • Python >= 3.8
  • NumPy
  • Matplotlib
  • Rich
  • aiohttp