1.2.0 • Published 2 years ago
rplacebot v1.2.0
r/place bot
A bot for the 2022 reddit place. Multiple users support.
Requirements
- NodeJs latest version installed.
If you want to help develop this bot you need to have yarn installed.
Installation
npm install -g rplacebot
and run using rplace
How to get Client ID and Secret
- Go to https://reddit.com/prefs/apps
- Create a new app and give it the type Script
- Put http://localhost:3000/ in redirect_url
After getting client id and secret you can either make two environment variable CLIENT_ID
and CLIENT_SECRET
. Even if you don't you will be prompted to do so. don't worry about filling it again and again, the config is persisted.
Setting up users
Make sure every username, and password you use to login must be added to the developers list of the app, otherwise you will get an error.
Setting Up Image
TODO
Running (developer)
Clone the repo.
Clone the project
git clone https://github.com/chirag-droid/rplace
Go to the project directory
cd rplace
Install dependencies
yarn install
Start the script in dev mode
yarn dev