From 881c64f75da53847429b965ffd11cad5a27fd659 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Mon, 21 Nov 2011 01:09:33 +1300 Subject: [PATCH] Reformatted drama.py --- plugins/drama.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/drama.py b/plugins/drama.py index 1738e8b..2025d35 100644 --- a/plugins/drama.py +++ b/plugins/drama.py @@ -1,6 +1,3 @@ -'''Searches Encyclopedia Dramatica and returns the first paragraph of the -article''' - from util import hook, http api_url = "http://encyclopediadramatica.ch/api.php?action=opensearch" @@ -10,8 +7,7 @@ ed_url = "http://encyclopediadramatica.ch/" @hook.command('ed') @hook.command def drama(inp): - '''.drama -- gets first paragraph of Encyclopedia Dramatica ''' \ - '''article on ''' + ".drama -- gets first paragraph of Encyclopedia Dramatica article on " j = http.get_json(api_url, search=inp) if not j[1]: