mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 04:39:57 +00:00
Put an identifiable user-agent to comply with Last.fm API
This commit is contained in:
parent
772914f6bf
commit
b1304b9956
@ -25,6 +25,9 @@ module.exports = (bot) => {
|
||||
api_key: Config.lastKey,
|
||||
format: 'json',
|
||||
limit: 1
|
||||
},
|
||||
headers: {
|
||||
'User-Agent': "lastfm-node"
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user