Skip to content

sopel-irc/sopel-xkcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sopel-xkcd

xkcd plugin for Sopel IRC bots.

Features & Usage

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 -1 for the previous comic)
  • .xkcd <keywords> — Search for a comic by keywords (e.g., .xkcd battery staple)
  • Posting an xkcd.com URL in chat will fetch the comic's title and alt-text

Installation

After installing Sopel, install this plugin with pip:

pip install sopel-xkcd

Configuration

No configuration is required.

Credits

This is a continuation of Sopel 8.0's built-in xkcd plugin. You can find the original file in Sopel's history.

About

xkcd plugin for Sopel IRC bots

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors