Skip to content

Alcheri/UrbanDictionary

 
 

Repository files navigation

Limnoria plugin for UrbanDictionary

Python versions Supported Python versions Build Status

Introduction

Limnoria plugin for querying UrbanDictionary

An asynchronous variant of the original UrbanDictionary plugin.

Install

You will need a working Limnoria bot on Python 3.10 or above for this to work.

Go into your Limnoria plugin dir, usually ~/runbot/plugins and run:

git clone https://github.com/Alcheri/UrbanDictionary.git

To install additional requirements, run:

pip install --upgrade -r requirements.txt 

Next, load the plugin:

/msg bot load UrbanDictionary

Configuring

  • supybot.plugins.UrbanDictionary.maxNumberOfDefinitions

    Number of definition and examples in output. Max 10.

  • supybot.plugins.UrbanDictionary.disableANSI

    Do not display any ANSI formatting codes in output. Default is False

  • supybot.plugins.UrbanDictionary.enabled

    Should plugin work in this channel?

  • aka add ud urbandictionary $*

    Add an alias to your bot for ease of use.

Example Usage

@ud spline
spline :: The [object] which [Maxis] likes to [reticulate]. Example: 1:  "What [are you] reticulating, dude?"
 2: "[My favorite] dish-- [Splines]!" | A combination organ between [the spine] and the [spleen].
One which doesn't exist, but you should ask [the stoner] people how it's doing anyways.
Example: Hey [Maya], how's your spline doing? What? Not to well? Oh, [I'm sorry] to [hear] that.

About

Limnoria / Supybot plugin for UrbanDictionary to display definitions on http://www.urbandict.com

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%