A reddit plugin for Sopel IRC bots.
Project description
sopel-reddit
A reddit plugin for Sopel IRC bots.
Installation
Stable version:
pip install sopel-reddit
From source
pip install -e path/to/sopel-reddit
# optional: for development
pip install -r dev-requirements.txt
Note: Running the test suite with pytest -v tests/
requires both
sopel-reddit
and sopel
itself to be installed in the same venv.
Configuration
[reddit]
slash_info = True
# Allow expansion of inline references like `u/RandomRedditor` or `r/eyebleach`
# (links are always expanded)
app_id = abcdef0123456789
# Optional custom app ID for the reddit API
The app_id
setting is provided mostly for future-proofing after API policy
changes announced by Reddit Inc. in April
2023.
It exists so possible future API limitations can be worked around by users
without requiring a package update. As of the time this package version was
published, the app_id
setting does not need to have a value.
Special thanks
All contributors to the original reddit
plugin for
Sopel.
Initial release - 1.0.0
Based on reddit.py
from Sopel's built-ins as of upstream
commit 7ad23ec.
Added:
- Optional
app_id
setting (#1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sopel_reddit-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81cc5cf0ce1d6d909d04b1f0766af685687d0651c17fb8bd36b34050e9f5fa92 |
|
MD5 | 61bee98ec93579dcbb609e518c057336 |
|
BLAKE2b-256 | c4bb849b944c97e3a303bcaa9885ff4118529c7b022bea3bdddf014f176aa31a |