DeltaNeverUsed / reddit-place-script-2022-Delta-s-Edition

Script to an image onto r/place (https://www.reddit.com/r/place/)
8 stars 3 forks source link

Reddit Place Script 2022

About

Script to an image onto r/place (https://www.reddit.com/r/place/)

My Version of rdeepak2002's reddit bot, it's too different now to easily merge so i'm not going to bother, feel free to do it you're self though

Changes(From the originally forked version)

Requirements

Python 3 (https://www.python.org/downloads/)

How to Get App Client ID and App Secret Key

You need to generate an app client id and app secret key in order to use this script.

Steps:

  1. Visit https://www.reddit.com/prefs/apps
  2. Click "create (another) app" button at very bottom
  3. Select the "script" option and fill in the fields with anything

Python Package Requirements

Install requirements from 'requirements.txt' file.

pip3 install -r requirements.txt

Get Started

Create a file called '.env'

Put in the following content:

ENV_PLACE_USERNAME=["username","username2"]
ENV_PLACE_PASSWORD=["password","password2"]
ENV_PLACE_APP_CLIENT_ID=["app_client_id","app_client_id2"]
ENV_PLACE_SECRET_KEY=["app_secret_key","app_secret_key2"]
ENV_DRAW_X_START="x_position_start_integer"
ENV_DRAW_Y_START="y_position_start_integer"

Change unknown.png to specify what image to draw. Note: one pixel is drawn every 5 minutes per account

Run the Script

python3 main.py