Fixed formatting.
This commit is contained in:
parent
146ae3c279
commit
4069dd21a3
89 changed files with 615 additions and 496 deletions
|
@ -6,9 +6,9 @@ api_url = "http://ws.audioscrobbler.com/2.0/?format=json"
|
|||
|
||||
@hook.command('l', autohelp=False)
|
||||
@hook.command(autohelp=False)
|
||||
def lastfm(inp, nick='', say=None, db=None, bot=None, notice=None):
|
||||
"lastfm [user] [dontsave] -- Displays the now playing (or last played)" \
|
||||
" track of LastFM user [user]."
|
||||
def lastfm(inp, nick='', db=None, bot=None, notice=None):
|
||||
"""lastfm [user] [dontsave] -- Displays the now playing (or last played)
|
||||
track of LastFM user [user]."""
|
||||
api_key = bot.config.get("api_keys", {}).get("lastfm")
|
||||
if not api_key:
|
||||
return "error: no api key set"
|
||||
|
|
Reference in a new issue