The third rewrite of delta bot, created for reddit.com/r/changemyview. This bot will be written in NodeJS.
- 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
- Download nvm. Mac/Linux: https://github.com/creationix/nvm Windows: https://github.com/coreybutler/nvm-windows/releases/download/1.1.1/nvm-setup.zip
git clone https://github.com/MystK/delta-bot-three.git
cd delta-bot-three
- 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
- 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
- Get a Reddit API key by going to https://www.reddit.com/prefs/apps/ => create another app => https://i.imgur.com/xMUa521.png
- Create a
credentials.json
that looks like below in./config/credentials
folder. npm install -g yarn
&&yarn
- Run
yarn run start-debug
oryarn start
and it should work
{
"username": "DeltaBot3",
"password": "PASSWORDHERE",
"clientID": "ebwS927PijoFvg",
"clientSecret": "X3-3cVNFx3Nd8_NYUrOuvmaf7wM",
"subreddit": "YOURnewSUBREDDIThere"
}
Please add yourself to this list if you've contributed:
- Rewrite what DeltaBot currently does and migrate all old data over.
- Have DeltaBot automatically rescan edited comments #4.
- Solve the missing deltas issue (Quick Fix: #35, Ideal Scenario: #33).
- 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