Skip to content

Configurations

Garlicvideos edited this page Oct 12, 2022 · 3 revisions

Configurations

Here are all of the config options available with the bot.

config.json

instagram

insta_username (What is your Instagram account username?)

The username of the Instagram account you'd like to use this bot on

Accepted values: anything

Defaults to: null

insta_password (What is the password associated with Instagram account?)

This option is only present if you enable Remember me.

I discourage using this as the requirement of typing in your password on every boot is no longer required anyways.

The password associated with the Instagram account in insta_username

Accepted values: anything

Defaults to: null

frequency (How often (in milliseconds) would you like the bot to upload to Instagram?)

The frequency at which the bot should be uploading to Instagram

Accepted values: numerical

Defaults to: 1500000

postProcess

autohashtags (Would you like the bot to automatically generate hashtags for you?)

Specifies if the hashtag generation feature of the bot is enabled

Accepted values: yes/no

Defaults to: no

ocr (Would you like OCR to be enabled?)

Specifies if the Image recognition module of the hashtag generation feature of the bot is enabled

Accepted values: yes/no

Defaults to: no

snooper

sort (How would you like the bot to sort?)

Specifies which sorting method the bot should browse.

Accepted values: hot/top_24/top_day/controversial/rising

Defaults to: hot

top (How many posts would you like to monitor?)

Specifies the amount of posts the bot should be monitoring. E.g. It is set to 12, therefore the top 12 posts of the hot section of r/all is monitored. If any of these posts get taken over by a new one, the bot will download them.

Accepted values: numerical

Defaults to: 15

subreddits.txt (What subreddit(s) do you want to whitelist?)

The list of subreddits you'd like this bot to browse. (r/all works too!)

There is a strict format that you are required to follow for this file

First time setup

  • Do not include 'r/'
  • Seperate the subreddits using commas
  • Spaces are allowed
  • Capitalisations are okay

Manual setup

  • Do not include 'r/'
  • Do not include spaces
  • Seperate the subreddits using commas
  • No capitalisation is allowed

You should end up with something like this: dankmemes,memes,wholesomememes

Ensure that the subreddits you choose exist, or the bot WILL crash

In the event of that happening, simply delete both subreddits.txt and account.json, then either a) Re-run the bot or b) Manually re-create both files.

Accepted values: subreddits that exist

Defaults to: r/all