Skip to content

toefraz/delta-bot-three

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DB3 - Delta Bot 3 Build Status

Summary

The third rewrite of delta bot, created for reddit.com/r/changemyview. This bot will be written in NodeJS.

Contributing

  • Any contributions are much appreciated
  • Please keep your commits specific to one task
  • Put the issue number in your commit message if it is associated with one.
  • Commit messages should follow the AngularJS commit guidelines
  • Before submitting any pull request, ensure that npm test passes with no errors

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 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 in ./config/credentials folder.
  8. npm install -g yarn && yarn
  9. Run yarn run start-debug or yarn 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:

Roadmap

The first three months ✓

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

To-Do

About

The third rewrite of delta bot

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 100.0%