fixed indentation derp
This commit is contained in:
parent
7a654e0541
commit
ba65e889f6
|
@ -5,12 +5,12 @@ from util import hook, http
|
|||
@hook.command('l', autohelp=False)
|
||||
@hook.command(autohelp=False)
|
||||
def lastfm(inp, nick='', say=None, db=None, bot=None):
|
||||
".lastfm [user] -- Displays the now playing (or last played) "\
|
||||
".lastfm [user] -- Displays the now playing (or last played) " \
|
||||
"track of LastFM user [user]."
|
||||
api_key = bot.config.get("api_keys", {}).get("lastfm")
|
||||
api_key = bot.config.get("api_keys", {}).get("lastfm")
|
||||
if not api_key:
|
||||
return "error: no api key set"
|
||||
|
||||
|
||||
if inp:
|
||||
user = inp
|
||||
else:
|
||||
|
|
Reference in a new issue