Coder Social home page Coder Social logo

delta-bot-three's Introduction

DB3 - Delta Bot 3 Build Status

Summary

The third rewrite of DeltaBot, created for reddit.com/r/changemyview. This bot will run CMV's delta system, and is written in NodeJS.

Contributing

  • Any contributions are much appreciated.
  • If there is an issue you plan to work on, please comment on it and we'll add the "in progress" label to prevent double work.
  • 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.
  • We have a slack chat (deltabotdevs.slack.com). You're welcome to join us by signing up here: https://deltabotdevs.signup.team

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 your 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. The bot account be a developer of the app.
  7. Create a credentials.json that looks like below in ./config/credentials folder.
  8. Create a config.json that looks like below in ./config folder.
  9. npm install -g yarn && yarn
  10. Run yarn run start-debug or yarn start and it should work.

credentials.json (example)

{
  "username": "DeltaBot3",
  "password": "PASSWORDHERE",
  "clientID": "CLIENTID",
  "clientSecret": "CLIENTSECRET",
}

config.json (example)

{
  "subreddit": "YOURnewSUBREDDIThere",
  "deltaLogSubreddit": "YOUR_DEVELOPMENT_DELTALOG_SUBREDDIT_HERE",

}

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

  • Make DeltaBot automatically rescan edited comments #4.
  • Act on edits made within 3 minutes of commenting #139.
  • Solve the missing deltas issue #119.
  • Implement first-time-delta PMs #14.
  • Yearly Deltaboard #36.
  • All-Time Deltaboard #34.
  • /r/DeltaLog #17.
  • DeltaBot's Stickied Comment #89.
  • Admin Interface #38.
  • The remaining issues in any order: https://github.com/MystK/delta-bot-three/issues

delta-bot-three's People

Contributors

snorrrlax avatar wyantb avatar raoulmeyer avatar mystk avatar yleong avatar ansballard avatar sahuk avatar snugghash avatar arswaw avatar crazypython avatar stedop avatar redsoxfantom avatar hallidev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.