Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hanse00/reddit-minecon-timer
A bot which eddits a subreddit sidebar with the time left to minecon
https://github.com/hanse00/reddit-minecon-timer
Last synced: 22 days ago
JSON representation
A bot which eddits a subreddit sidebar with the time left to minecon
- Host: GitHub
- URL: https://github.com/hanse00/reddit-minecon-timer
- Owner: Hanse00
- Created: 2015-05-18T12:42:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-18T20:59:03.000Z (over 9 years ago)
- Last Synced: 2024-10-26T08:39:12.251Z (2 months ago)
- Language: Python
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Reddit Event Timer
This is a python script which allows you to insert a countdown timer to an event, into a subreddit sidebar.To use the script, download the content of this repository, then run
```
pip install -r requirements.txt
```This will install the dependencies.
Then edit the ```settings.py``` file, to fit your needs.
The default file looks like this:
```
USERNAME = "Test"
PASSWORD = "Test"SUBREDDITS = ["Mustek", "MineconAgents"]
START_STRING = "[](#countstart)"
END_STRING = "[](#countstop)"EVENT_TIMEZONE = "Europe/London"
LOCAL_TIMEZONE = "Europe/Copenhagen"EVENT_START = "2015-07-04 10:00:00"
EVENT_END = "2015-07-05 18:00:00"TIME_FORMAT = "%Y-%m-%d %H:%M:%S"
```The settings are:
**USERNAME** The reddit user used for the script
**PASSWORD** The password the script should use to log in
**SUBREDDITS** This is a python list of subreddit names
**START_STRING** This is the string found in the sidebar, after which the script should insert the time left
**END_STRING** This is the string that follows the countdown field
**EVENT_TIMEZONE** The timezone in which the event you are tracking will happen
**LOCAL_TIMEZONE** The timezone of the computer on which the script will run
**EVENT_START** The local time at which the event will start
**EVENT_END** The local time at which the event will end
**TIME_FORMAT** The formatting used for the start and end time