Skip to content

Commit

Permalink
Add submission handling and prepare for the v0.3.0 release
Browse files Browse the repository at this point in the history
Add handling of submissions to subreddits. To achieve this, there are now
two distinct classes for all the logic pertaining to submissions and
comments. On start, the bot forks. The child process takes care of
submissions, while the parent process takes care of comments. Prepare
for the v0.3.0 release of the bot by bumping the version number in
the sample configuration file. Update the documentation and changelog
accordingly.
  • Loading branch information
pille1842 committed Mar 28, 2018
1 parent 49befbe commit d34b431
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 123 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.ini
processed_comments_*.txt
processed_submissions_*.txt
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.3.0] - 2018-03-29
### Added
- The bot now also handles submissions.
- Added an option `--prosfile` to control where the bot stores the IDs of
processed submissions. The default is `processed_submissions_SUBREDDIT.txt` in
the bot's working directory. The submissions file will be kept to a maximum
of 500 processed submissions.

## [0.2.0] - 2017-10-31
### Added
- Added an option `--procfile` to control where the bot stores the IDs of
Expand Down
2 changes: 1 addition & 1 deletion MaxGoldtBot.ini.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[MaxGoldtBot]
client_id=
client_secret=
user_agent=python:de.erixpage.maxgoldtbot:v0.2.0 (by /u/pille1842)
user_agent=python:de.erixpage.maxgoldtbot:v0.3.0 (by /u/pille1842)
username=
password=
Loading

0 comments on commit d34b431

Please sign in to comment.