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
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
Close
Hashes for sopel_modules_genius_answer-0.0.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd309417467cf36d6bf7421e34351e2595444dfca008bae75759d505db1a7314 |
|
MD5 | eee25f44103e713e426f1fae55a55128 |
|
BLAKE2b-256 | 38277422e8db06fd1715c2230decb17f3116fa3595b0798519ec4f2a4c3dbb13 |
Close
Hashes for sopel_modules.genius_answer-0.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6efa226b7e520c0d89d95d1b9158f64be233c5b8859e064e86af5ea74cecce8 |
|
MD5 | 67d77dcd7979842437da9f1f213258c5 |
|
BLAKE2b-256 | fcd611314c55ef0a8b7a482684e664e6ab8d9cc137e381b109dc99f8431fa20d |