https://github.com/andrewthetechie/err-topic-a-day
An errbot plugin to post a topic a day to a channel for discussion
https://github.com/andrewthetechie/err-topic-a-day
errbot-plugin errbot-plugins hacktoberfest
Last synced: 9 months ago
JSON representation
An errbot plugin to post a topic a day to a channel for discussion
- Host: GitHub
- URL: https://github.com/andrewthetechie/err-topic-a-day
- Owner: andrewthetechie
- License: gpl-3.0
- Created: 2019-10-07T22:15:09.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-07-23T19:20:21.000Z (almost 4 years ago)
- Last Synced: 2025-07-16T14:57:36.649Z (11 months ago)
- Topics: errbot-plugin, errbot-plugins, hacktoberfest
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 3
- Watchers: 3
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# err-topic-a-day
An errbot plugin to post a topic a day to a channel for discussion
# Configuration
topic-a-day reads its config from a combination of environment variables and config files. This is due to the complexity
of expressing some config options as env variable strings.
Config options:
* TAD_CHANNEL: str, channel name to use as your topic channel
* TAD_SCHEDULE: str, schedule to post on, expressed as a crontab. This uses apscheduler, which starts its cron day counts
on monday, rather than sunday
* TAD_APSCHEDULER_CONFIG_FILE: str, optional. Path to a config file for
[AP Scheduler's config](https://apscheduler.readthedocs.io/en/stable/userguide.html#configuring-the-scheduler). If left
blank, we setup a basic, working config
* TAD_TZ: What timezone to set. Only used if TAD_APSCHEDULER_CONFIG_FILE is false.
* TAD_ENABLE_WEBHOOK: bool, default false. If enabled, use a webhook + curl to perform posting. Allows using the AP
scheduler sqlalchemy backend
* TAD_WEBHOOK_URL, str, url for the Topic a day webhook. Defaults to localhost:3142/post_topic_rpc
* AUTH_POST_WEBHOOK: bool, default True. If true, webhook only works if auth'd properly
* AUTH_POST_WEBHOOK_TOKEN: str, default generated token. The token for our webhook auth