Skip to main content

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 = bttv, ffz # Available options: [7tv, ffz, bttv]. Order determines priority.
size = large # small, medium, or large

Changelog

1.0.1

Updated default source order.

1.0.0

First release of sopel-emotes.

Supported sources:

  • BTTV
  • FFZ
  • 7TV

Supported sizes:

  • small
  • medium
  • large

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sopel_emotes-1.0.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

sopel_emotes-1.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file sopel_emotes-1.0.1.tar.gz.

File metadata

  • Download URL: sopel_emotes-1.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for sopel_emotes-1.0.1.tar.gz
Algorithm Hash digest
SHA256 63defa1ac7ba9aeb9e751dd050f084b84db9a3522858ef302c3db82aa9789fdd
MD5 f8402c18e0709c01aac7e15560d25d0b
BLAKE2b-256 1fe05dc909b4fa7da186d2fbfef37c2c60b2e6d744686f215119ecc557a01061

See more details on using hashes here.

File details

Details for the file sopel_emotes-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sopel_emotes-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4228676c4af77f5724bbac8d1405d4dfab26342609bafc5d10ac66481513106
MD5 9a52787d4c54563501ee99285c890b70
BLAKE2b-256 16a3f811d022afac23bf3ce30ed5a4a545a6b2710dea58da9f73e676c2b1b80b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page