Corrected syntax error
This commit is contained in:
parent
d0f7d8d784
commit
d70f9d5a76
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class Steam:
|
||||||
# Make the request and get the data in json response, all url's we're using will give a json response
|
# Make the request and get the data in json response, all url's we're using will give a json response
|
||||||
try:
|
try:
|
||||||
async with self.session.get(url, headers=self.headers) as response:
|
async with self.session.get(url, headers=self.headers) as response:
|
||||||
data = response.json()
|
data = await response.json()
|
||||||
except:
|
except:
|
||||||
await self.bot.say("Sorry, I failed looking up that user's information. I'll try better next time ;-;")
|
await self.bot.say("Sorry, I failed looking up that user's information. I'll try better next time ;-;")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue