changed help a to mach other plugins, added help to vimeo

This commit is contained in:
neersighted 2012-02-28 08:36:12 +08:00 committed by lukeroge
parent 1af7998666
commit be1a5777f5
4 changed files with 5 additions and 4 deletions

View file

@ -8,7 +8,7 @@ def lastfm(inp, nick='', say=None, db=None, bot=None):
user = inp
else:
user = nick
".lastfm <user> - display the now playing (or recent) tracks of a LastFM user"
".lastfm <user> -- displays the now playing (or recent) tracks of a LastFM 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"