From 457d8fbe425426664356758980db597c08ea75b8 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 10 Aug 2015 21:55:08 -0400 Subject: [PATCH] Update triggers for !urban; update README. --- README.md | 9 +++++++++ commands/urbandictionary.py | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 79e9387..43ab3e1 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,15 @@ IRC Commands `"praises"` with the key `"earwig"` and the value `"Earwig is the bestest Python programmer ever!"`. +- **urbandictionary**: looks up terms on + [Urban Dictionary](https://www.urbandictionary.com/). Separated from the main + command list because these are often distasteful or unwanted. + +- **weather**: gives current weather information for a location from + [Weather Underground](http://www.wunderground.com/). Requires an API key + stored in its config as `"apiKey"`, which should be stored encrypted if that + option is enabled. + Bot Tasks --------- diff --git a/commands/urbandictionary.py b/commands/urbandictionary.py index e7c1fe9..a476834 100644 --- a/commands/urbandictionary.py +++ b/commands/urbandictionary.py @@ -13,8 +13,7 @@ from earwigbot.commands import Command class UrbanDictionary(Command): """Get the definition of a word or phrase using Urban Dictionary.""" name = "urban" - commands = ["urban", "urbandictionary", "dictt", "definee", "defne", "dct", - "ud"] + commands = ["urban", "urbandictionary", "dct", "ud"] def process(self, data): if not data.args: