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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 338ae8500e2c71aaf840ecb4f2a479acf04abab605d6d8fc173406421b1d2247 |
|
MD5 | 62bab7298f31d512713905913a8f6466 |
|
BLAKE2b-256 | 8df7013647e81e2c1ebb1e9c49bf0a643ad2af537a25b55650d4b694904b3205 |
Close
Hashes for sopel_modules.genius_answer-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62407b7fbd7ef4f57a98d7720e7a60ba96e4b60277e90f23694c60ac73129006 |
|
MD5 | fc9487a2f271835f8fc301448d0fcd31 |
|
BLAKE2b-256 | 96e00e0fc31db8af3b6daaf83a59e0dcd075e3b1c3da1f56ea494c8c01cede90 |