overhauled help

This commit is contained in:
neersighted 2012-02-28 10:03:43 +08:00 committed by lukeroge
parent 0fdf370733
commit c58192f72c
58 changed files with 124 additions and 117 deletions

View file

@ -8,7 +8,7 @@ def lastfm(inp, nick='', say=None, db=None, bot=None):
user = inp
else:
user = nick
".lastfm <user> -- displays the now playing (or recent) tracks of a LastFM user"
".lastfm <user> -- Displays the now playing (or recent) tracks of LastFM user <user>."
db.execute("create table if not exists lastfm(nick primary key, acc)")
sql = db.execute("select acc from lastfm where nick=lower(?)", (nick,)).fetchone();
api_url = "http://ws.audioscrobbler.com/2.0/?format=json"