PEP8, lots of tweaks/fixes
This commit is contained in:
parent
641b770dc3
commit
508fec8ae8
29 changed files with 165 additions and 111 deletions
|
@ -7,7 +7,8 @@ ed_url = "http://encyclopediadramatica.ch/"
|
|||
@hook.command('ed')
|
||||
@hook.command
|
||||
def drama(inp):
|
||||
".drama <phrase> -- Gets the first paragraph of Encyclopedia Dramatica article on <phrase>."
|
||||
".drama <phrase> -- Gets the first paragraph of"\
|
||||
"the Encyclopedia Dramatica article on <phrase>."
|
||||
|
||||
j = http.get_json(api_url, search=inp)
|
||||
if not j[1]:
|
||||
|
|
Reference in a new issue