Skip to main content

A sopel plugin (irc-bot) to answer with a quote from rapgenius.com

Project description

sopel-genius-answer

A sopel plugin (irc-bot) to answer with a quote from rapgenius.com

Install genius-answer plugin

$ pip install sopel_modules.genius-answer

Configure genius-answer

To create the genius token, see https://github.com/johnwmillr/lyricsgenius#setup
In default.cfg config file, add a [genius] section with api_key as

[genius]
api_key = xxxxxxxxxxxxxxxxx

Configure per channel fallback answers

Bot will say, not answer.

[fallback]
default="I don't know dude."
channel="#channel is such a great place !"

Per nickname serial answer limitation

To be able to limit how many answers to give to the same nickname.

[limitation]
pinpin=3

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sopel_modules.genius_answer-0.0.21-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file sopel_modules_genius_answer-0.0.21.tar.gz.

File metadata

File hashes

Hashes for sopel_modules_genius_answer-0.0.21.tar.gz
Algorithm Hash digest
SHA256 6856e89d15329ab98095b759f9b2bc2bae42eb9ba42027cd34724a78262c2740
MD5 0ceff70ade8abe2a21b9818d2d8d859d
BLAKE2b-256 c209cc85f07828aa7e58bc1ef08cbc2ba64cba908b3ec4815ea90976caacc584

See more details on using hashes here.

File details

Details for the file sopel_modules.genius_answer-0.0.21-py3-none-any.whl.

File metadata

File hashes

Hashes for sopel_modules.genius_answer-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 a685b1737ec24204e4d2ab8843155d282d9e9927b95f615bda4df9e06b0319af
MD5 7cd987a3c891051a1034d3f32dbe5f9a
BLAKE2b-256 3ecf33ffe982db50e507a74c7fe334d3004b61e1a0b54244c6f2d5661a9b2c52

See more details on using hashes here.

Supported by

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