Updated help message for lastfm

This commit is contained in:
Luke Rogers 2012-04-19 21:30:07 +12:00
parent 472cc39e7b
commit cd9170f133

View file

@ -3,8 +3,8 @@ 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) " \
"track of LastFM user [user]."
".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"