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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33f3cdd0bef35b5c0f1e93c61785893dadd5ec1b3901e1fe4c6e1558b06496de |
|
MD5 | 164294f55ec7424eca7fa12501a3c05d |
|
BLAKE2b-256 | cdfb77756dafe362c73f6fb07bfa8c743d3505cace20d1b499c8144e77574f90 |
Close
Hashes for sopel_modules.genius_answer-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d2b08ff198a1188212d73682b4eb13c051a913f139d14e06a7333ca3ed3c81a |
|
MD5 | 125d6543254873e9bfc0e20500f0694c |
|
BLAKE2b-256 | 35b25a71e87bcd4d40df95277aa8d9f64824c9c0ca162c0808d0a83be7e2ece0 |