Searches for emotes, denoted by `:emote_name:` from multiple sources (FFZ/BTTV/7TV) and links the associated image urls.
Project description
sopel-emotes
This module searches for emotes in messages from multiple sources (7TV, BetterTTV, FrankerFaceZ). It searches for emotes in the format :emote_name:
and looks them up from the available emote sources based on a configurable priority list. The emote size is also configurable.
Features:
- Configurable emote sources and search priority (7TV, BTTV, FFZ) via Sopel config.
- Configurable emote size (small, medium, large) via Sopel config.
- Handles multiple emotes in a single message with rate limiting delays.
Future Tasks:
- Caching
Installing
Releases are hosted on PyPI, so after installing Sopel, all you need is pip
:
$ pip install sopel-emotes
Configuring
The easiest way to configure sopel-emotes
is via Sopel's
configuration wizard—simply run sopel-plugins configure emotes
and enter the values for which it prompts you.
Manual configuration
[emotes]
sources = ffz, bttv # Available options: [7tv, ffz, bttv]. Order determines priority.
size = large # small, medium, or large
Changelog
1.0.0
First release of sopel-emotes
.
Supported sources:
- BTTV
- FFZ
- 7TV
Supported sizes:
- small
- medium
- large
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
File details
Details for the file sopel_emotes-1.0.0.tar.gz
.
File metadata
- Download URL: sopel_emotes-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f44070ef5456111d14bed6b12f97747258f8e2d3ed8c77aee524d3febea96f40 |
|
MD5 | c0066d943193d69d8e2e1bea3f0574d1 |
|
BLAKE2b-256 | 814effdd79bf2cb66c7318052610bca540be729b9409fd38cbfd3e2112346f98 |
File details
Details for the file sopel_emotes-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: sopel_emotes-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 191b95e64551c8052b5792e68ffd54d549461e527682b316c37855c6b4ff09bd |
|
MD5 | 9eb8e45360646542f793feb7af3b254b |
|
BLAKE2b-256 | e6a5439cb8a8db0d4c4f575fc72c18dfa0d26ed0b9961f74ee22b3792c62ca00 |