/delta-bot-three

The third rewrite of delta bot

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

DB3 - Delta Bot 3

Summary

The third rewrite of delta bot. This bot will be written in NodeJS.

Contributing

Any contributions are much appreciated. Please keep your PRs to 1 commit and put the issue number in the beginning of your commit message if it is associated with one.

How to build

  1. download nvm. Mac/Linux: https://github.com/creationix/nvm Windows: https://github.com/coreybutler/nvm-windows/releases/download/1.1.1/nvm-setup.zip
  2. git clone https://github.com/MystK/delta-bot-three.git
  3. cd delta-bot-three
  4. Mac/Linux: nvm install && nvm use Windows: Look inside the .nvmrc folder to find the version. EX: 5.8.0 is the version. nvm install 5.8.0 && nvm use 5.8.0
  5. create a subreddit. after creation, ensure that "mod editing" for the subreddit's wiki is enabled, and make you bot account a moderator for the subreddit
  6. get a Reddit API key by going to https://www.reddit.com/prefs/apps/ => create another app => https://i.imgur.com/xMUa521.png
  7. create a credentials.json that looks like below
  8. npm start and it should work

credentials.json

{
  "username": "DeltaBot3",
  "password": "PASSWORDHERE",
  "clientID": "ebwS927PijoFvg",
  "clientSecret": "X3-3cVNFx3Nd8_NYUrOuvmaf7wM",
  "subreddit": "YOURnewSUBREDDIThere"
}

A special thanks to everyone who contributed

Please add yourself to this list if you've contributed content to this effort

  • @roastchicken

Roadmap

The first three months ✓

  • Rewrite what DeltaBot currently does and migrate all old data over. ✓

To-Do