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 = 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


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.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for sopel_emotes-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f44070ef5456111d14bed6b12f97747258f8e2d3ed8c77aee524d3febea96f40
MD5 c0066d943193d69d8e2e1bea3f0574d1
BLAKE2b-256 814effdd79bf2cb66c7318052610bca540be729b9409fd38cbfd3e2112346f98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sopel_emotes-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 191b95e64551c8052b5792e68ffd54d549461e527682b316c37855c6b4ff09bd
MD5 9eb8e45360646542f793feb7af3b254b
BLAKE2b-256 e6a5439cb8a8db0d4c4f575fc72c18dfa0d26ed0b9961f74ee22b3792c62ca00

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