From 44880461275606ae8cad507a1ebcb0f4ff503065 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 18 Apr 2013 11:36:41 -0300 Subject: [PATCH] Update and rename dictionary.py to urbandictionary.py --- commands/{dictionary.py => urbandictionary.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename commands/{dictionary.py => urbandictionary.py} (89%) diff --git a/commands/dictionary.py b/commands/urbandictionary.py similarity index 89% rename from commands/dictionary.py rename to commands/urbandictionary.py index 47f5b74..08c4f96 100644 --- a/commands/dictionary.py +++ b/commands/urbandictionary.py @@ -10,7 +10,7 @@ from urllib2 import urlopen from earwigbot.commands import Command class UrbanDictionary(Command): - """Get the real definition of a word.""" + """Get the definition of a word using Urban Dictionary.""" name = "urban" commands = ["dictt", "definee", "defne", "dct", "ud"] @@ -32,5 +32,5 @@ class UrbanDictionary(Command): msg = 'Here are some close matches...: {0}'.format(', '.join(l)) self.reply(data, msg) else: - self.reply(data, 'Sorry, no results found :(') + self.reply(data, 'Sorry, no results found.')