A bot for the 2022 reddit place. Multiple users support.
- NodeJs latest version installed.
If you want to help develop this bot you need to have yarn installed.
npm install -g rplacebot
and run using
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_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
Clone the repo.
Clone the project
git clone https://github.com/chirag-droid/rplace
Go to the project directory
Start the script in dev mode