xkcd plugin for Sopel IRC bots.
This plugin provides lookup commands and automatic URL expansion for xkcd comics in Sopel IRC bots.
.xkcd— Get a random comic.xkcd <number>— Get a specific comic by number (e.g.,.xkcd 303).xkcd 0— Get the most recent comic.xkcd -<n>— Get the nth-latest comic (e.g.,.xkcd -1for the previous comic).xkcd <keywords>— Search for a comic by keywords (e.g.,.xkcd battery staple)- Posting an
xkcd.comURL in chat will fetch the comic's title and alt-text
After installing Sopel, install this plugin with pip:
pip install sopel-xkcdNo configuration is required.
This is a continuation of Sopel 8.0's built-in xkcd plugin. You can find the
original file in Sopel's history.