changed help a to mach other plugins, added help to vimeo
This commit is contained in:
parent
1af7998666
commit
be1a5777f5
4 changed files with 5 additions and 4 deletions
|
@ -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"
|
||||
|
|
Reference in a new issue