URL_SPOTIFY
was renamed to URL_SEARCH
(spotify.py)
This commit is contained in:
parent
74e8ad0351
commit
a177c5050e
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class Module(ModuleManager.BaseModule):
|
|||
:usage: <term>
|
||||
"""
|
||||
token = self._get_token()
|
||||
page = utils.http.request(URL_SPOTIFY,
|
||||
page = utils.http.request(URL_SEARCH,
|
||||
get_params={"type": "track", "limit": 1, "q": event["args"]},
|
||||
headers={"Authorization", "Bearer %s" % token},
|
||||
json=True)
|
||||
|
|
Loading…
Reference in a new issue